2024-03-23 10:05:14 +01:00
|
|
|
<?php
|
|
|
|
|
|
|
|
namespace App\Providers;
|
|
|
|
|
|
|
|
use Illuminate\Support\ServiceProvider;
|
|
|
|
|
|
|
|
class AppServiceProvider extends ServiceProvider
|
|
|
|
{
|
|
|
|
/**
|
|
|
|
* Register any application services.
|
|
|
|
*/
|
|
|
|
public function register(): void
|
|
|
|
{
|
2024-04-09 22:36:40 +02:00
|
|
|
if ($this->app->environment('local')) {
|
|
|
|
$this->app->register(\Laravel\Telescope\TelescopeServiceProvider::class);
|
|
|
|
$this->app->register(TelescopeServiceProvider::class);
|
|
|
|
}
|
2024-03-23 10:05:14 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Bootstrap any application services.
|
|
|
|
*/
|
|
|
|
public function boot(): void
|
|
|
|
{
|
|
|
|
//
|
|
|
|
}
|
|
|
|
}
|