src/Manager.php
public function runInBackground(DateTime $now = null) : array
    {
        $jobs = $this->getDueJobs($now);

        foreach ($jobs as $job) {
            $this->processes[] = $job->runInBackground();
        }

        return $this->processes;
    }
public function runInBackground(DateTime $now = null) : array
    {
        $jobs = $this->getDueJobs($now);

        foreach ($jobs as $job) {
            $this->processes[] = $job->runInBackground();
        }

        return $this->processes;
    }
public function runInBackground ( DateTime $ now = null ) : array { $ jobs = $ this -> getDueJobs ( $ now ) ; foreach ( $ jobs as $ job ) { $ this -> processes [ ] = $ job -> runInBackground ( ) ; } return $ this -> processes ; }
Run all due jobs in the background.
Run all due jobs in the background .