5 use Symfony\Component\Console\Input\ArgvInput;
6 use Symfony\Component\Console\Input\InputInterface;
11 * @var \Symfony\Component\Console\Input\InputInterface
16 * @param \Symfony\Component\Console\Input\InputInterface $input
20 * @see \Symfony\Component\Console\Input\InputAwareInterface::setInput()
22 public function setInput(InputInterface $input)
24 $this->input = $input;
30 * @return \Symfony\Component\Console\Input\InputInterface
32 protected function input()
34 if (!isset($this->input)) {
35 $this->setInput(new ArgvInput());
41 * Backwards compatibility.
43 * @return \Symfony\Component\Console\Input\InputInterface
47 protected function getInput()
49 return $this->input();