protected function flushQueue() : bool
    {
        foreach (array_keys($this->jobQueues) as $jobName) {
            $this->jobQueues[$jobName] = [];
        }
        $this->jobsInQueue = 0;
        return true;
    }
protected function flushQueue() : bool
    {
        foreach (array_keys($this->jobQueues) as $jobName) {
            $this->jobQueues[$jobName] = [];
        }
        $this->jobsInQueue = 0;
        return true;
    }
protected function flushQueue ( ) : bool { foreach ( array_keys ( $ this -> jobQueues ) as $ jobName ) { $ this -> jobQueues [ $ jobName ] = [ ] ; } $ this -> jobsInQueue = 0 ; return true ; }
Removes jobs from all queues.

@return bool
Removes jobs from all queues .