Permalink
Cannot retrieve contributors at this time
<?php | |
namespace App\Providers; | |
use Illuminate\Support\ServiceProvider; | |
use Laravel\Telescope\Telescope; | |
class AppServiceProvider extends ServiceProvider | |
{ | |
/** | |
* Bootstrap any application services. | |
* | |
* @return void | |
*/ | |
public function boot() | |
{ | |
// | |
} | |
/** | |
* Register any application services. | |
* | |
* @return void | |
*/ | |
public function register() | |
{ | |
if ($this->app->isLocal()) { | |
$this->app->register(TelescopeServiceProvider::class); | |
Telescope::ignoreMigrations(); | |
} | |
} | |
} |