src/Rocketeer/Services/Tasks/TasksQueue.php
public function execute($queue, $connections = null)
    {
        if ($connections) {
            $this->connections->setActiveConnections($connections);
        }

        // Run tasks
        $this->run($queue);
        $history = $this->history->getFlattenedOutput();

        return end($history);
    }
public function execute($queue, $connections = null)
    {
        if ($connections) {
            $this->connections->setActiveConnections($connections);
        }

        // Run tasks
        $this->run($queue);
        $history = $this->history->getFlattenedOutput();

        return end($history);
    }
public function execute ( $ queue , $ connections = null ) { if ( $ connections ) { $ this -> connections -> setActiveConnections ( $ connections ) ; } // Run tasks $ this -> run ( $ queue ) ; $ history = $ this -> history -> getFlattenedOutput ( ) ; return end ( $ history ) ; }
Execute Tasks on the default connection and
return their output.

@param string|array|Closure $queue
@param string|string[]|null $connections

@return string|string[]|false
Execute Tasks on the default connection and return their output .