src/Telescope.php
public static function start($app)
    {
        if (! config('telescope.enabled')) {
            return;
        }

        static::registerWatchers($app);

        static::registerMailableTagExtractor();

        if (static::runningApprovedArtisanCommand($app) ||
            static::handlingApprovedRequest($app)
        ) {
            static::startRecording();
        }
    }
public static function start($app)
    {
        if (! config('telescope.enabled')) {
            return;
        }

        static::registerWatchers($app);

        static::registerMailableTagExtractor();

        if (static::runningApprovedArtisanCommand($app) ||
            static::handlingApprovedRequest($app)
        ) {
            static::startRecording();
        }
    }
public static function start ( $ app ) { if ( ! config ( 'telescope.enabled' ) ) { return ; } static :: registerWatchers ( $ app ) ; static :: registerMailableTagExtractor ( ) ; if ( static :: runningApprovedArtisanCommand ( $ app ) || static :: handlingApprovedRequest ( $ app ) ) { static :: startRecording ( ) ; } }
Register the Telescope watchers and start recording if necessary.

@param  \Illuminate\Foundation\Application  $app
@return void
Register the Telescope watchers and start recording if necessary .