Input
class Input
Input.
Properties
| protected ReaderInterface | $reader | Reader. | |
| protected ArgvParser | $arguments | Arguments. | 
Methods
                    string
                
                
                    read()
        
                                            
                
            Reads and returns user input.
                    getArgumentParser()
        
                                            
                
            Returns the argument parser.
                    array
                
                
                    getArguments()
        
                                            
                
            Returns all the arguments passed to the script.
                    mixed
                
                
                    getArgument(int|string $name, mixed $default = null)
        
                                            
                
            Returns the argument associated with the given name.
Details
        at         line 40
                            
    __construct(ReaderInterface $reader, ArgvParser $arguments)
        
    
    Constructor.
        at         line 52
                            string
    read()
        
    
    Reads and returns user input.
        at         line 62
                            ArgvParser
    getArgumentParser()
        
    
    Returns the argument parser.
        at         line 72
                            array
    getArguments()
        
    
    Returns all the arguments passed to the script.
        at         line 84
                            mixed
    getArgument(int|string $name, mixed $default = null)
        
    
    Returns the argument associated with the given name.