src/Console/Commands/MakeResource.php
private function runCommandsWithParameters(Collection $commands, array $parameters)
    {
        foreach ($commands->keys() as $command) {
            if (0 !== $this->call($command, $parameters)) {
                return false;
            }
        }

        return true;
    }
private function runCommandsWithParameters(Collection $commands, array $parameters)
    {
        foreach ($commands->keys() as $command) {
            if (0 !== $this->call($command, $parameters)) {
                return false;
            }
        }

        return true;
    }
Runs the given commands and passes them all the given parameters.

@param Collection $commands
@param array $parameters
@return bool