#4 - wip
This commit is contained in:
		| @@ -5,7 +5,13 @@ declare(strict_types=1); | ||||
| namespace Toby\Providers; | ||||
|  | ||||
| use Illuminate\Support\ServiceProvider; | ||||
| use Toby\Models\User; | ||||
| use Toby\Observers\UserObserver; | ||||
|  | ||||
| class AppServiceProvider extends ServiceProvider | ||||
| { | ||||
|     public function boot(): void | ||||
|     { | ||||
|         User::observe(UserObserver::class); | ||||
|     } | ||||
| } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user