You are here

public function ArrayInput::__construct in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/console/Input/ArrayInput.php \Symfony\Component\Console\Input\ArrayInput::__construct()

Constructor.

Parameters

array $parameters An array of parameters:

InputDefinition $definition A InputDefinition instance:

Overrides Input::__construct

File

vendor/symfony/console/Input/ArrayInput.php, line 33

Class

ArrayInput
ArrayInput represents an input provided as an array.

Namespace

Symfony\Component\Console\Input

Code

public function __construct(array $parameters, InputDefinition $definition = null) {
  $this->parameters = $parameters;
  parent::__construct($definition);
}