| Total Complexity | 2 |
| Total Lines | 15 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 7 | class AccessControl extends \yii\filters\AccessControl { |
||
| 8 | /** |
||
| 9 | * Denies the access of the user. |
||
| 10 | * The default implementation will redirect the user to the login page if he is a guest; |
||
| 11 | * if the user is already logged, they are redirected elsewhere |
||
| 12 | * @param User $user the current user |
||
|
|
|||
| 13 | */ |
||
| 14 | protected function denyAccess($user) |
||
| 24 | } |