Argument
    
            
            in package
            
        
    
    
    
Table of Contents
Properties
- $command : AbstractCommand
 - Command with arguments
 - $key : int
 - Key of argument in array
 
Methods
- __construct() : mixed
 - Creates new instance from given command and key
 - between() : Argument
 - Determines that current argument value must be numeric between given values
 - getCommandName() : string
 - Returns name of current arguments command
 - max() : Argument
 - Determines that current argument must be under a maxiumum value
 - min() : Argument
 - Determines that current argument must be over a minimum value
 - required() : Argument
 - Defines current argument as required
 - type() : Argument
 - Determines that current argument must be of given type
 - value() : mixed
 - Returns value of current argument
 - isDigit() : bool
 - Checks if value is "PHP" integer (120 but also 120.0)
 
Properties
$command
Command with arguments
    public
        AbstractCommand
    $command
    
    
    
    
    
$key
Key of argument in array
    public
        int
    $key
    
    
    
    
    
Methods
__construct()
Creates new instance from given command and key
    public
                    __construct(AbstractCommand $command[, int $key = 0 ]) : mixed
    Parameters
- $command : AbstractCommand
 - $key : int = 0
 
between()
Determines that current argument value must be numeric between given values
    public
                    between(mixed $x, mixed $y) : Argument
    Parameters
- $x : mixed
 - $y : mixed
 
Return values
ArgumentgetCommandName()
Returns name of current arguments command
    public
                    getCommandName() : string
    Return values
stringmax()
Determines that current argument must be under a maxiumum value
    public
                    max(mixed $value) : Argument
    Parameters
- $value : mixed
 
Return values
Argumentmin()
Determines that current argument must be over a minimum value
    public
                    min(mixed $value) : Argument
    Parameters
- $value : mixed
 
Return values
Argumentrequired()
Defines current argument as required
    public
                    required() : Argument
    Return values
Argumenttype()
Determines that current argument must be of given type
    public
                    type(mixed $type) : Argument
    Parameters
- $type : mixed
 
Return values
Argumentvalue()
Returns value of current argument
    public
                    value([mixed $default = null ]) : mixed
    Parameters
- $default : mixed = null
 
isDigit()
Checks if value is "PHP" integer (120 but also 120.0)
    private
                    isDigit(mixed $value) : bool
    Parameters
- $value : mixed