Telescope::night();
You can refer the full code example from below.
# app/Providers/TelescopeServiceProvider.php
<?php namespace App\Providers; use Illuminate\Support\Facades\Gate; use Laravel\Telescope\IncomingEntry; use Laravel\Telescope\Telescope; use Laravel\Telescope\TelescopeApplicationServiceProvider; class TelescopeServiceProvider extends TelescopeApplicationServiceProvider { /** * Register any application services. * * @return void */ public function register() { Telescope::night(); /* Other Codes */ } /* Other Codes */ }
Leave a reply