original_string: protected function registerCommands(array $commands)
      {
          foreach ($commands as $command) {
              if ( ! $command instanceof SymfonyCommand) {
                  $command = $this->container[$command];
              }
  
              $this->container['console']->add($command);
          }
      }
code: protected function registerCommands(array $commands)
      {
          foreach ($commands as $command) {
              if ( ! $command instanceof SymfonyCommand) {
                  $command = $this->container[$command];
              }
  
              $this->container['console']->add($command);
          }
      }
code_tokens: protected function registerCommands ( array $ commands ) { foreach ( $ commands as $ command ) { if ( ! $ command instanceof SymfonyCommand ) { $ command = $ this -> container [ $ command ] ; } $ this -> container [ 'console' ] -> add ( $ command ) ; } }
docstring: Register an array of commands into the console.
  
  @return void
docstring_tokens: Register an array of commands into the console .