| 1 | <?php namespace Arcanesoft\Auth\Policies; |
||
| 11 | abstract class Policy |
||
| 12 | { |
||
| 13 | /* ------------------------------------------------------------------------------------------------ |
||
| 14 | | Main Functions |
||
| 15 | | ------------------------------------------------------------------------------------------------ |
||
| 16 | */ |
||
| 17 | /** |
||
| 18 | * @param \Arcanesoft\Contracts\Auth\Models\User $user |
||
| 19 | * @param mixed $ability |
||
| 20 | * |
||
| 21 | * @return bool |
||
| 22 | */ |
||
| 23 | public function before(User $user, $ability) |
||
| 27 | } |
||
| 28 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.