1 | <?php |
||
24 | class RoleHandler |
||
25 | { |
||
26 | /** |
||
27 | * Listen to the Role updated event. |
||
28 | * |
||
29 | * @param \Rinvex\Fort\Models\Role $role |
||
30 | * |
||
31 | * @return void |
||
32 | */ |
||
33 | public function updated(Role $role) |
||
38 | |||
39 | /** |
||
40 | * Listen to the Role deleted event. |
||
41 | * |
||
42 | * @param \Rinvex\Fort\Models\Role $role |
||
43 | * |
||
44 | * @return void |
||
45 | */ |
||
46 | public function deleted(Role $role) |
||
51 | |||
52 | /** |
||
53 | * Listen to the Role attached event. |
||
54 | * |
||
55 | * @param \Rinvex\Fort\Models\Role $role |
||
56 | * |
||
57 | * @return void |
||
58 | */ |
||
59 | public function attached(Role $role) |
||
64 | |||
65 | /** |
||
66 | * Listen to the Role synced event. |
||
67 | * |
||
68 | * @param \Rinvex\Fort\Models\Role $role |
||
69 | * |
||
70 | * @return void |
||
71 | */ |
||
72 | public function synced(Role $role) |
||
77 | |||
78 | /** |
||
79 | * Listen to the Role detached event. |
||
80 | * |
||
81 | * @param \Rinvex\Fort\Models\Role $role |
||
82 | * |
||
83 | * @return void |
||
84 | */ |
||
85 | public function detached(Role $role) |
||
90 | |||
91 | /** |
||
92 | * Listen to the Role validating event. |
||
93 | * |
||
94 | * @param \Rinvex\Fort\Models\Role $role |
||
95 | * @param string $event |
||
96 | * |
||
97 | * @return void |
||
98 | */ |
||
99 | public function validating(Role $role, $event) |
||
110 | } |
||
111 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.