Consolidation\Cgr\Application::runCommandList PHP Метод

runCommandList() публичный Метод

Run all of the commands in a list. Abort early if any fail.
public runCommandList ( array $commandList, $options ) : integer
$commandList array An array of CommandToExec
Результат integer
    public function runCommandList($commandList, $options)
    {
        foreach ($commandList as $command) {
            $exitCode = $command->run($this->outputFile);
            if ($exitCode) {
                return $exitCode;
            }
        }
        return 0;
    }