$_name
$_name : string
Name of the argument.
An object to represent a single argument used in the command line.
ConsoleOptionParser creates these when you use addArgument()
__construct(string|array $name, string $help = '', boolean $required = false, array $choices = array())
Make a new Input Argument
string|array | $name | The long name of the option, or an array with all the properties. |
string | $help | The help text for this option |
boolean | $required | Whether this argument is required. Missing required args will trigger exceptions |
array | $choices | Valid choices for this option. |
isEqualTo(\Cake\Console\ConsoleInputArgument $argument) : boolean
Checks if this argument is equal to another argument.
\Cake\Console\ConsoleInputArgument | $argument | ConsoleInputArgument to compare to. |
Loading…