cartalyst / sentinel

A framework agnostic authentication & authorization system.
BSD 3-Clause "New" or "Revised" License
1.51k stars 238 forks source link

User notifiable trait #550

Open dbrax opened 3 years ago

dbrax commented 3 years ago

@brunogaspar and team

On EloquentUser class i added a Notifiable Trait. Which comes handy when using laravel notifications.Had to add that in one of my project.

My basic contribution

use Illuminate\Notifications\Notifiable;

class EloquentUser extends Model implements PermissibleInterface, PersistableInterface, RoleableInterface, UserInterface { use PermissibleTrait,Notifiable;

Hope this is useful Thanks,