src/Watchers/JobWatcher.php
public function recordJob($connection, $queue, array $payload)
    {
        if (! Telescope::isRecording()) {
            return;
        }

        $content = array_merge([
            'status' => 'pending',
        ], $this->defaultJobData($connection, $queue, $payload, $this->data($payload)));

        Telescope::recordJob(
            $entry = IncomingEntry::make($content)
                        ->tags($this->tags($payload))
        );

        return $entry;
    }
public function recordJob($connection, $queue, array $payload)
    {
        if (! Telescope::isRecording()) {
            return;
        }

        $content = array_merge([
            'status' => 'pending',
        ], $this->defaultJobData($connection, $queue, $payload, $this->data($payload)));

        Telescope::recordJob(
            $entry = IncomingEntry::make($content)
                        ->tags($this->tags($payload))
        );

        return $entry;
    }
public function recordJob ( $ connection , $ queue , array $ payload ) { if ( ! Telescope :: isRecording ( ) ) { return ; } $ content = array_merge ( [ 'status' => 'pending' , ] , $ this -> defaultJobData ( $ connection , $ queue , $ payload , $ this -> data ( $ payload ) ) ) ; Telescope :: recordJob ( $ entry = IncomingEntry :: make ( $ content ) -> tags ( $ this -> tags ( $ payload ) ) ) ; return $ entry ; }
Record a job being created.

@param  string  $connection
@param  string  $queue
@param  array  $payload
@return \Laravel\Telescope\IncomingEntry|null
Record a job being created .