Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
<?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