[ Index ]

PHP Cross Reference of phpBB-3.2.11-deutsch




/vendor/symfony/console/Input/ -> ArrayInput.php (summary)

(no description)

File Size: 193 lines (5 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

ArrayInput:: (9 methods):

Class: ArrayInput  - X-Ref

ArrayInput represents an input provided as an array.


$input = new ArrayInput(array('name' => 'foo', '--bar' => 'foobar'));

__construct(array $parameters, InputDefinition $definition = null)   X-Ref
No description

getFirstArgument()   X-Ref

hasParameterOption($values)   X-Ref

getParameterOption($values, $default = false)   X-Ref

__toString()   X-Ref
Returns a stringified representation of the args passed to the command.

return: string

parse()   X-Ref

addShortOption($shortcut, $value)   X-Ref
Adds a short option value.

param: string $shortcut The short option key
param: mixed  $value    The value for the option

addLongOption($name, $value)   X-Ref
Adds a long option value.

param: string $name  The long option key
param: mixed  $value The value for the option

addArgument($name, $value)   X-Ref
Adds an argument value.

param: string $name  The argument name
param: mixed  $value The value for the argument

Generated: Wed Nov 11 20:33:01 2020 Cross-referenced by PHPXref 0.7.1