public function load(array $commandClasses)
    {
        foreach ($commandClasses as $commandClass) {
            $command = \Parable\DI\Container::create($commandClass);
            $this->consoleApp->addCommand($command);
        }
        return $this;
    }
public function load(array $commandClasses)
    {
        foreach ($commandClasses as $commandClass) {
            $command = \Parable\DI\Container::create($commandClass);
            $this->consoleApp->addCommand($command);
        }
        return $this;
    }
public function load ( array $ commandClasses ) { foreach ( $ commandClasses as $ commandClass ) { $ command = \ Parable \ DI \ Container :: create ( $ commandClass ) ; $ this -> consoleApp -> addCommand ( $ command ) ; } return $ this ; }
Add all commands passed to the console app.

@param string[] $commandClasses

@return $this
@throws \Parable\DI\Exception
Add all commands passed to the console app .