public function dispatch(Queueable $job)
    {
        if (isset($job->queue, $job->delay)) {
            return $this->connection->laterOn($job->queue, $job->delay, $job);
        }
        if (isset($job->queue)) {
            return $this->connection->pushOn($job->queue, $job);
        }
        if (isset($job->delay)) {
            return $this->connection->later($job->delay, $job);
        }

        return $this->connection->push($job);
    }
public function dispatch(Queueable $job)
    {
        if (isset($job->queue, $job->delay)) {
            return $this->connection->laterOn($job->queue, $job->delay, $job);
        }
        if (isset($job->queue)) {
            return $this->connection->pushOn($job->queue, $job);
        }
        if (isset($job->delay)) {
            return $this->connection->later($job->delay, $job);
        }

        return $this->connection->push($job);
    }
public function dispatch ( Queueable $ job ) { if ( isset ( $ job -> queue , $ job -> delay ) ) { return $ this -> connection -> laterOn ( $ job -> queue , $ job -> delay , $ job ) ; } if ( isset ( $ job -> queue ) ) { return $ this -> connection -> pushOn ( $ job -> queue , $ job ) ; } if ( isset ( $ job -> delay ) ) { return $ this -> connection -> later ( $ job -> delay , $ job ) ; } return $ this -> connection -> push ( $ job ) ; }
Dispatch a job behind a queue.

@param  \Globalis\PuppetSkilled\Queue\Queueable  $job
@return mixed
Dispatch a job behind a queue .