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

        Telescope::recordCache(IncomingEntry::make([
            'type' => 'hit',
            'key' => $event->key,
            'value' => $event->value,
        ]));
    }
public function recordCacheHit(CacheHit $event)
    {
        if (! Telescope::isRecording() || $this->shouldIgnore($event)) {
            return;
        }

        Telescope::recordCache(IncomingEntry::make([
            'type' => 'hit',
            'key' => $event->key,
            'value' => $event->value,
        ]));
    }
public function recordCacheHit ( CacheHit $ event ) { if ( ! Telescope :: isRecording ( ) || $ this -> shouldIgnore ( $ event ) ) { return ; } Telescope :: recordCache ( IncomingEntry :: make ( [ 'type' => 'hit' , 'key' => $ event -> key , 'value' => $ event -> value , ] ) ) ; }
Record a cache key was found.

@param  \Illuminate\Cache\Events\CacheHit  $event
@return void
Record a cache key was found .