You are here

public function Input::bind in Zircon Profile 8

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

Binds the current Input instance with the given arguments and options.

Parameters

InputDefinition $definition A InputDefinition instance:

Overrides InputInterface::bind

2 calls to Input::bind()
Input::__construct in vendor/symfony/console/Input/Input.php
Constructor.
StringInput::__construct in vendor/symfony/console/Input/StringInput.php
Constructor.

File

vendor/symfony/console/Input/Input.php, line 55

Class

Input
Input is the base class for all concrete Input classes.

Namespace

Symfony\Component\Console\Input

Code

public function bind(InputDefinition $definition) {
  $this->arguments = array();
  $this->options = array();
  $this->definition = $definition;
  $this
    ->parse();
}