protected function addConsoleCommand(Command $command)
    {
        Deprecated::method(3.0, 'registerNutCommands');

        $app = $this->getContainer();
        $app['nut.commands.add']($command);
    }
protected function addConsoleCommand(Command $command)
    {
        Deprecated::method(3.0, 'registerNutCommands');

        $app = $this->getContainer();
        $app['nut.commands.add']($command);
    }
protected function addConsoleCommand ( Command $ command ) { Deprecated :: method ( 3.0 , 'registerNutCommands' ) ; $ app = $ this -> getContainer ( ) ; $ app [ 'nut.commands.add' ] ( $ command ) ; }
Add a console command.

@param Command $command

@deprecated since 3.0, will be removed in 4.0. Use registerNutCommands() instead.
Add a console command .