1 | <?php |
||
11 | class Controller extends BaseController |
||
12 | { |
||
13 | use AuthorizesRequests, DispatchesJobs, ValidatesRequests; |
||
14 | |||
15 | |||
16 | /** |
||
17 | * Custom authorization method. Use only if you are managing a model with "user_id" field |
||
18 | * |
||
19 | * @param string $ability |
||
20 | * @param array $record |
||
21 | */ |
||
22 | public function bCAuthorize($ability, $record = []) |
||
28 | } |
||
29 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.