laravel-learn-bbs/app/Observers/UserObserver.php

21 lines
306 B
PHP
Raw Permalink Normal View History

2018-01-01 04:00:45 +00:00
<?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)
{
//
}
}