21 lines
306 B
PHP
21 lines
306 B
PHP
|
<?php
|
||
|
|
||
|
namespace App\Observers;
|
||
|
|
||
|
use App\Models\User;
|
||
|
|
||
|
// creating, created, updating, updated, saving,
|
||
|
// saved, deleting, deleted, restoring, restored
|
||
|
|
||
|
class UserObserver
|
||
|
{
|
||
|
public function creating(User $user)
|
||
|
{
|
||
|
//
|
||
|
}
|
||
|
|
||
|
public function updating(User $user)
|
||
|
{
|
||
|
//
|
||
|
}
|
||
|
}
|