26 lines
459 B
PHP
26 lines
459 B
PHP
<?php
|
|
|
|
namespace App\Providers;
|
|
|
|
use App\Models\Trip;
|
|
use App\Domain\Trip\Observers\TripObserver;
|
|
use Illuminate\Support\ServiceProvider;
|
|
|
|
class AppServiceProvider extends ServiceProvider
|
|
{
|
|
/**
|
|
* Register any application services.
|
|
*/
|
|
public function register(): void
|
|
{
|
|
//
|
|
}
|
|
|
|
/**
|
|
* Bootstrap any application services.
|
|
*/
|
|
public function boot(): void
|
|
{
|
|
Trip::observe(TripObserver::class);
|
|
}
|
|
}
|