1 | <?php |
||
5 | trait HasGates |
||
6 | { |
||
7 | public function gateAllows() |
||
11 | |||
12 | public function gateAllowsGuests($user = null) |
||
16 | |||
17 | public function gateDenies() |
||
21 | |||
22 | public function gateDeniesGuests($user = null) |
||
26 | |||
27 | |||
28 | protected static function gateRouteName(): string |
||
33 | |||
34 | protected static function gateAbilities(): array |
||
38 | |||
39 | protected static function gateResourceAbilities(): array |
||
51 | |||
52 | public static function gateRegister(): void |
||
60 | } |
||
61 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.