UserModel.php
In my user model there is created event which is called every time when new user is created using User::Save()
protected static function boot()
{
parent::boot();
self::created(function (User $user) {
// Some operation goes here
});
}
Now what i want is for some reason i don't want to call that created when i create new user record.
Is there any way to bypass createdEvent ??
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire