public function getConsole(Container $app = null)
    {
        return $this->console ?: (isset($app['console']) ? $app['console'] : new Console());
    }
public function getConsole(Container $app = null)
    {
        return $this->console ?: (isset($app['console']) ? $app['console'] : new Console());
    }
public function getConsole ( Container $ app = null ) { return $ this -> console ? : ( isset ( $ app [ 'console' ] ) ? $ app [ 'console' ] : new Console ( ) ) ; }
Gets the console application.

@param Container $app
@return Console|null
Gets the console application .