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);
    }