Cheetah
|
Public Member Functions | |
__construct (AbstractCommand $command, $key=0) | |
getCommandName () | |
value ($default=null) | |
required () | |
type ($type) | |
between ($x, $y) | |
min ($value) | |
max ($value) | |
Public Attributes | |
$command | |
$key | |
Definition at line 5 of file Argument.php.
Intervention\Image\Commands\Argument::__construct | ( | AbstractCommand | $command, |
$key = 0 |
|||
) |
Creates new instance from given command and key
AbstractCommand | $command | |
integer | $key |
Definition at line 27 of file Argument.php.
Intervention\Image\Commands\Argument::between | ( | $x, | |
$y | |||
) |
Determines that current argument value must be numeric between given values
Definition at line 151 of file Argument.php.
Intervention\Image\Commands\Argument::getCommandName | ( | ) |
Intervention\Image\Commands\Argument::max | ( | $value | ) |
Determines that current argument must be under a maxiumum value
Definition at line 198 of file Argument.php.
Intervention\Image\Commands\Argument::min | ( | $value | ) |
Determines that current argument must be over a minimum value
Definition at line 176 of file Argument.php.
Intervention\Image\Commands\Argument::required | ( | ) |
Defines current argument as required
Definition at line 66 of file Argument.php.
Intervention\Image\Commands\Argument::type | ( | $type | ) |
Determines that current argument must be of given type
Definition at line 82 of file Argument.php.
Intervention\Image\Commands\Argument::value | ( | $default = null | ) |
Returns value of current argument
mixed | $default |
Definition at line 50 of file Argument.php.
Intervention\Image\Commands\Argument::$command |
Definition at line 12 of file Argument.php.
Intervention\Image\Commands\Argument::$key |
Definition at line 19 of file Argument.php.