DumpDie
class DumpDie extends Mutator (View source)
Allows you to dump the value inside a chain of mutators for inspection while developing. Kills the script afterwards.
Uses the dd function if available, otherwise falls back to var_dump and exit(1).
Methods
                    __construct(mixed ...$args)
        
                                            
                
            No description
                    mixed
                
                
                    mutate(mixed $value)
        
                                            
                
            Mutate the input value.
Details
        
                            
    __construct(mixed ...$args)
        
    
    No description
        
                static            DumpDie
    make(mixed ...$args)
        
    
    No description
        
                            mixed
    mutate(mixed $value)
        
    
    Mutate the input value.