-
-
Save cursosdesarrolloweb/4a361f9ef0075c1cefd38e664ea530be to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use App\Models\User; | |
use App\Observers\UserObserver; | |
/** | |
* Register any events for your application. | |
* | |
* @return void | |
*/ | |
public function boot() | |
{ | |
User::observe(UserObserver::class); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment