1 | <?php |
||
22 | class AbilityHandler |
||
23 | { |
||
24 | /** |
||
25 | * Listen to the Ability created event. |
||
26 | * |
||
27 | * @param \Rinvex\Fort\Models\Ability $ability |
||
28 | * |
||
29 | * @return void |
||
30 | */ |
||
31 | public function created(Ability $ability) |
||
35 | |||
36 | /** |
||
37 | * Listen to the Ability updated event. |
||
38 | * |
||
39 | * @param \Rinvex\Fort\Models\Ability $ability |
||
40 | * |
||
41 | * @return void |
||
42 | */ |
||
43 | public function updated(Ability $ability) |
||
48 | |||
49 | /** |
||
50 | * Listen to the Ability deleted event. |
||
51 | * |
||
52 | * @param \Rinvex\Fort\Models\Ability $ability |
||
53 | * |
||
54 | * @return void |
||
55 | */ |
||
56 | public function deleted(Ability $ability) |
||
61 | |||
62 | /** |
||
63 | * Listen to the Ability attached event. |
||
64 | * |
||
65 | * @param \Rinvex\Fort\Models\Ability $ability |
||
66 | * |
||
67 | * @return void |
||
68 | */ |
||
69 | public function attached(Ability $ability) |
||
74 | |||
75 | /** |
||
76 | * Listen to the Ability detached event. |
||
77 | * |
||
78 | * @param \Rinvex\Fort\Models\Ability $ability |
||
79 | * |
||
80 | * @return void |
||
81 | */ |
||
82 | public function detached(Ability $ability) |
||
87 | } |
||
88 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.