Laravel\Envoy\Console\RunCommand::fire PHP Метод

fire() защищенный Метод

Execute the command.
protected fire ( ) : integer
Результат integer
    protected function fire()
    {
        $container = $this->loadTaskContainer();
        $exitCode = 0;
        foreach ($this->getTasks($container) as $task) {
            $thisCode = $this->runTask($container, $task);
            if (0 !== $thisCode) {
                $exitCode = $thisCode;
            }
            if ($thisCode > 0 && !$this->input->getOption('continue')) {
                $this->output->writeln('[<fg=red>✗</>] <fg=red>This task did not complete successfully on one of your servers.</>');
                break;
            }
        }
        foreach ($container->getFinishedCallbacks() as $callback) {
            call_user_func($callback);
        }
        return $exitCode;
    }