src/Watchers/JobWatcher.php
protected function defaultJobData($connection, $queue, array $payload, array $data)
    {
        return [
            'connection' => $connection,
            'queue' => $queue,
            'name' => $payload['displayName'],
            'tries' => $payload['maxTries'],
            'timeout' => $payload['timeout'],
            'data' => $data,
        ];
    }
protected function defaultJobData($connection, $queue, array $payload, array $data)
    {
        return [
            'connection' => $connection,
            'queue' => $queue,
            'name' => $payload['displayName'],
            'tries' => $payload['maxTries'],
            'timeout' => $payload['timeout'],
            'data' => $data,
        ];
    }
protected function defaultJobData ( $ connection , $ queue , array $ payload , array $ data ) { return [ 'connection' => $ connection , 'queue' => $ queue , 'name' => $ payload [ 'displayName' ] , 'tries' => $ payload [ 'maxTries' ] , 'timeout' => $ payload [ 'timeout' ] , 'data' => $ data , ] ; }
Get the default entry data for the given job.

@param  string  $connection
@param  string  $queue
@param  array  $payload
@param  array  $data
@return array
Get the default entry data for the given job .