Class ArrayInput
ArrayInput represents an input provided as an array.
Usage:
$input = new ArrayInput(array('name' => 'foo', '--bar' => 'foobar'));
- Symfony\Component\Console\Input\Input implements Symfony\Component\Console\Input\InputInterface
- Symfony\Component\Console\Input\ArrayInput
Namespace: Symfony\Component\Console\Input
Author: Fabien Potencier <fabien@symfony.com>
Api
Located at console/Symfony/Component/Console/Input/ArrayInput.php
Author: Fabien Potencier <fabien@symfony.com>
Api
Located at console/Symfony/Component/Console/Input/ArrayInput.php
public
|
#
__construct( array $parameters,
Constructor. |
public
string
|
|
public
Boolean
|
#
hasParameterOption( string|array $values )
Returns true if the raw parameters (not parsed) contain a value. |
public
mixed
|
#
getParameterOption( string|array $values, mixed $default = false )
Returns the value of a raw option (not parsed). |
protected
|
bind(),
getArgument(),
getArguments(),
getOption(),
getOptions(),
hasArgument(),
hasOption(),
isInteractive(),
setArgument(),
setInteractive(),
setOption(),
validate()
|
$arguments,
$definition,
$interactive,
$options
|