src/Http/Controllers/EntryController.php
protected function status()
    {
        if (! config('telescope.enabled', false)) {
            return 'disabled';
        }

        if (cache('telescope:pause-recording', false)) {
            return 'paused';
        }

        $watcher = config('telescope.watchers.'.$this->watcher());

        if (! $watcher || (isset($watcher['enabled']) && ! $watcher['enabled'])) {
            return 'off';
        }

        return 'enabled';
    }
protected function status()
    {
        if (! config('telescope.enabled', false)) {
            return 'disabled';
        }

        if (cache('telescope:pause-recording', false)) {
            return 'paused';
        }

        $watcher = config('telescope.watchers.'.$this->watcher());

        if (! $watcher || (isset($watcher['enabled']) && ! $watcher['enabled'])) {
            return 'off';
        }

        return 'enabled';
    }
protected function status ( ) { if ( ! config ( 'telescope.enabled' , false ) ) { return 'disabled' ; } if ( cache ( 'telescope:pause-recording' , false ) ) { return 'paused' ; } $ watcher = config ( 'telescope.watchers.' . $ this -> watcher ( ) ) ; if ( ! $ watcher || ( isset ( $ watcher [ 'enabled' ] ) && ! $ watcher [ 'enabled' ] ) ) { return 'off' ; } return 'enabled' ; }
Determine the watcher recording status.

@return string
Determine the watcher recording status .