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 Input/Input.php
Namespace: Symfony\Component\Console\Input
Author: Fabien Potencier fabien@symfony.com
Located at 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
|
|
public
string
|
getFirstArgument(),
getParameterOption(),
hasParameterOption()
|
protected
|
$definition
|
|
protected
array
|
$options
|
#
array()
|
protected
array
|
$arguments
|
#
array()
|
protected
boolean
|
$interactive
|
#
true
|