protected function getConsole(): Cerebro
    {
        if ($this->console === null) {
            $console = $this->getContainer()->get(Cerebro::class);

            $console->setVersion($this->resolvedOptions['version']);
            $console->setName($this->resolvedOptions['console_name']);

            return $this->console = $console;
        }

        return $this->console;
    }
protected function getConsole(): Cerebro
    {
        if ($this->console === null) {
            $console = $this->getContainer()->get(Cerebro::class);

            $console->setVersion($this->resolvedOptions['version']);
            $console->setName($this->resolvedOptions['console_name']);

            return $this->console = $console;
        }

        return $this->console;
    }
protected function getConsole ( ) : Cerebro { if ( $ this -> console === null ) { $ console = $ this -> getContainer ( ) -> get ( Cerebro :: class ) ; $ console -> setVersion ( $ this -> resolvedOptions [ 'version' ] ) ; $ console -> setName ( $ this -> resolvedOptions [ 'console_name' ] ) ; return $ this -> console = $ console ; } return $ this -> console ; }
Get the cerebro application instance.

@return \Viserio\Component\Console\Application
Get the cerebro application instance .