src/Console/Command.php
protected function setIo(InputInterface $input, OutputInterface $output)
    {
        $this->input = $input;
        $this->output = $output;

        return $this;
    }
protected function setIo(InputInterface $input, OutputInterface $output)
    {
        $this->input = $input;
        $this->output = $output;

        return $this;
    }
protected function setIo ( InputInterface $ input , OutputInterface $ output ) { $ this -> input = $ input ; $ this -> output = $ output ; return $ this ; }
Attach IO to command for easier access between methods.

@param  InputInterface  $input
@param  OutputInterface  $output
@return $this
Attach IO to command for easier access between methods .