concrete/src/Console/ConsoleAwareTrait.php
public function setConsole(SymfonyApplication $console, OutputInterface $output = null, InputInterface $input = null)
    {
        $this->traitConsole = $console;
        if ($output) {
            $this->setOutput($output);
        }
        if ($input) {
            $this->setInput($input);
        }

        return $this;
    }
public function setConsole(SymfonyApplication $console, OutputInterface $output = null, InputInterface $input = null)
    {
        $this->traitConsole = $console;
        if ($output) {
            $this->setOutput($output);
        }
        if ($input) {
            $this->setInput($input);
        }

        return $this;
    }
public function setConsole ( SymfonyApplication $ console , OutputInterface $ output = null , InputInterface $ input = null ) { $ this -> traitConsole = $ console ; if ( $ output ) { $ this -> setOutput ( $ output ) ; } if ( $ input ) { $ this -> setInput ( $ input ) ; } return $ this ; }
Set the console object

@param \Symfony\Component\Console\Application $console
@param \Symfony\Component\Console\Output\OutputInterface|null $output
@param \Symfony\Component\Console\Input\InputInterface|null $input
@return static
Set the console object