original_string: public function load(array $commandClasses)
      {
          foreach ($commandClasses as $commandClass) {
              $command = \Parable\DI\Container::create($commandClass);
              $this->consoleApp->addCommand($command);
          }
          return $this;
      }
code: public function load(array $commandClasses)
      {
          foreach ($commandClasses as $commandClass) {
              $command = \Parable\DI\Container::create($commandClass);
              $this->consoleApp->addCommand($command);
          }
          return $this;
      }
code_tokens: public function load ( array $ commandClasses ) { foreach ( $ commandClasses as $ commandClass ) { $ command = \ Parable \ DI \ Container :: create ( $ commandClass ) ; $ this -> consoleApp -> addCommand ( $ command ) ; } return $ this ; }
docstring: Add all commands passed to the console app.
  
  @param string[] $commandClasses
  
  @return $this
  @throws \Parable\DI\Exception
docstring_tokens: Add all commands passed to the console app .