protected function pushToChannel(Job $job)
    {
        $channelName = $job->channelName() ? $job->channelName() : static::$defaultChannel;

        $state = $this->channelOrFail($channelName)->push($job, $channelName);

        $job->setState($state);

        return $job;
    }
protected function pushToChannel(Job $job)
    {
        $channelName = $job->channelName() ? $job->channelName() : static::$defaultChannel;

        $state = $this->channelOrFail($channelName)->push($job, $channelName);

        $job->setState($state);

        return $job;
    }
protected function pushToChannel ( Job $ job ) { $ channelName = $ job -> channelName ( ) ? $ job -> channelName ( ) : static :: $ defaultChannel ; $ state = $ this -> channelOrFail ( $ channelName ) -> push ( $ job , $ channelName ) ; $ job -> setState ( $ state ) ; return $ job ; }
Push a job onto an channel.

@param Job $job

@return Job
Push a job onto an channel .