[ Index ]

PHP Cross Reference of phpBB-3.2.11-deutsch

title

Body

[close]

/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):
  __construct()
  getFirstArgument()
  hasParameterOption()
  getParameterOption()
  __toString()
  parse()
  addShortOption()
  addLongOption()
  addArgument()


Class: ArrayInput  - X-Ref

ArrayInput represents an input provided as an array.

Usage:

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

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

getFirstArgument()   X-Ref
{@inheritdoc}


hasParameterOption($values)   X-Ref
{@inheritdoc}


getParameterOption($values, $default = false)   X-Ref
{@inheritdoc}


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

return: string

parse()   X-Ref
{@inheritdoc}


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