protected function registerCommands(array $commands)
    {
        foreach ($commands as $command) {
            if ( ! $command instanceof SymfonyCommand) {
                $command = $this->container[$command];
            }

            $this->container['console']->add($command);
        }
    }
protected function registerCommands(array $commands)
    {
        foreach ($commands as $command) {
            if ( ! $command instanceof SymfonyCommand) {
                $command = $this->container[$command];
            }

            $this->container['console']->add($command);
        }
    }
protected function registerCommands ( array $ commands ) { foreach ( $ commands as $ command ) { if ( ! $ command instanceof SymfonyCommand ) { $ command = $ this -> container [ $ command ] ; } $ this -> container [ 'console' ] -> add ( $ command ) ; } }
Register an array of commands into the console.

@return void
Register an array of commands into the console .