30 lines
602 B
PHP
30 lines
602 B
PHP
<?php
|
|
|
|
namespace App\Providers;
|
|
|
|
use Illuminate\Support\ServiceProvider;
|
|
use App\Models\Domain;
|
|
use App\Observers\DomainObserver;
|
|
|
|
class AppServiceProvider extends ServiceProvider
|
|
{
|
|
/**
|
|
* Register any application services.
|
|
*/
|
|
public function register(): void
|
|
{
|
|
//
|
|
}
|
|
|
|
/**
|
|
* Bootstrap any application services.
|
|
*/
|
|
public function boot(): void
|
|
{
|
|
Domain::observe(DomainObserver::class);
|
|
|
|
// Note: AuthEventListener is auto-discovered by Laravel 11+
|
|
// Do not manually subscribe - it causes duplicate audit log entries
|
|
}
|
|
}
|