src/Watchers/RedisWatcher.php
public function recordCommand(CommandExecuted $event)
    {
        if (! Telescope::isRecording() || $this->shouldIgnore($event)) {
            return;
        }

        Telescope::recordRedis(IncomingEntry::make([
            'connection' => $event->connectionName,
            'command' => $this->formatCommand($event->command, $event->parameters),
            'time' => number_format($event->time, 2),
        ]));
    }
public function recordCommand(CommandExecuted $event)
    {
        if (! Telescope::isRecording() || $this->shouldIgnore($event)) {
            return;
        }

        Telescope::recordRedis(IncomingEntry::make([
            'connection' => $event->connectionName,
            'command' => $this->formatCommand($event->command, $event->parameters),
            'time' => number_format($event->time, 2),
        ]));
    }
public function recordCommand ( CommandExecuted $ event ) { if ( ! Telescope :: isRecording ( ) || $ this -> shouldIgnore ( $ event ) ) { return ; } Telescope :: recordRedis ( IncomingEntry :: make ( [ 'connection' => $ event -> connectionName , 'command' => $ this -> formatCommand ( $ event -> command , $ event -> parameters ) , 'time' => number_format ( $ event -> time , 2 ) , ] ) ) ; }
Record a Redis command was executed.

@param  \Illuminate\Redis\Events\CommandExecuted  $event
@return void
Record a Redis command was executed .