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 | protected static function gateRouteName(): string |
||
32 | |||
33 | protected static function gateAbilities(): array |
||
37 | |||
38 | protected static function gateResourceAbilities(): array |
||
50 | |||
51 | public static function gateRegister(): void |
||
59 | } |
||
60 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.