1 | <?php namespace App\Modules\Roles\ModelObservers; |
||
6 | class RoleObserver |
||
7 | { |
||
8 | |||
9 | public function saving($model) |
||
13 | |||
14 | public function saved($model) |
||
18 | |||
19 | public function creating($model) |
||
23 | |||
24 | public function created($model) |
||
28 | |||
29 | public function updating($model) |
||
33 | |||
34 | public function updated($model) |
||
38 | |||
39 | public function deleting($model) |
||
43 | |||
44 | public function deleted($model) |
||
48 | |||
49 | public function restoring($model) |
||
53 | |||
54 | public function restored($model) |
||
58 | } |
||
59 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.