Class Input
Input is the base class for all concrete Input classes.
Three concrete classes are provided by default:
* ArgvInput
: The input comes from the CLI arguments (argv) *
StringInput
: The input is provided as a string *
ArrayInput
: The input is provided as an array
- Symfony\Component\Console\Input\Input implements Symfony\Component\Console\Input\InputInterface
Direct known subclasses
Symfony\Component\Console\Input\ArgvInput, Symfony\Component\Console\Input\ArrayInputIndirect known subclasses
Symfony\Component\Console\Input\StringInput
Abstract
Namespace: Symfony\Component\Console\Input
Author: Fabien Potencier <fabien@symfony.com>
Located at console/Symfony/Component/Console/Input/Input.php
Namespace: Symfony\Component\Console\Input
Author: Fabien Potencier <fabien@symfony.com>
Located at console/Symfony/Component/Console/Input/Input.php
public
|
|
public
|
#
bind(
Binds the current Input instance with the given arguments and options. |
abstract protected
|
|
public
|
|
public
Boolean
|
|
public
|
|
public
array
|
|
public
mixed
|
|
public
|
|
public
Boolean
|
#
hasArgument( string|integer $name )
Returns true if an InputArgument object exists by name or position. |
public
array
|
|
public
mixed
|
|
public
|
|
public
Boolean
|
getFirstArgument(),
getParameterOption(),
hasParameterOption()
|
protected
mixed
|
$definition |
|
|
protected
mixed
|
$options |
|
|
protected
mixed
|
$arguments |
|
|
protected
boolean
|
$interactive | true |