| abstract | |
|---|---|
| implements | InputInterface, StreamableInputInterface | 
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 stringArrayInput: The input is provided as an array| Methods | ||
|---|---|---|
| 
					
	public
					
					
				 | __construct(?InputDefinition $definition = null) | # | 
| 
					
	public
					
					
				 | bind(InputDefinition $definition) | # | 
| 
					
	public
					
					
				 | validate() | # | 
| 
					
	public
					
					
				 | isInteractive() | # | 
| 
					
	public
					
					
				 | setInteractive(bool $interactive) | # | 
| 
					
	public
					
					
				 | getArguments() | # | 
| 
					
	public
					
					
				 | getArgument(string $name) | # | 
| 
					
	public
					
					
				 | setArgument(string $name, $value) | # | 
| 
					
	public
					
					
				 | hasArgument(string $name) | # | 
| 
					
	public
					
					
				 | getOptions() | # | 
| 
					
	public
					
					
				 | getOption(string $name) | # | 
| 
					
	public
					
					
				 | setOption(string $name, $value) | # | 
| 
					
	public
					
					
				 | hasOption(string $name) | # | 
| 
					
	public
					
					
				 | escapeToken(string $token): string | # | 
| 
					
	public
					
					
				 | setStream($stream) | # | 
| 
					
	public
					
					
				 | getStream() | # |