| 1 | <?php | ||
| 8 | class AuthorizationController extends AbstractController | ||
| 9 | { | ||
| 10 | /** | ||
| 11 | * @inheritdoc | ||
| 12 | */ | ||
| 13 | protected function verbs(): array | ||
| 19 | |||
| 20 | /** | ||
| 21 | * @param int|null $id | ||
| 22 | * @return mixed | ||
| 23 | * @throws \yii\base\InvalidConfigException | ||
| 24 | */ | ||
| 25 | public function actionAuthorize(int $id = null) | ||
| 43 | |||
| 44 | /** | ||
| 45 | * @inheritDoc | ||
| 46 | */ | ||
| 47 | public function checkAdminAccess(): bool | ||
| 52 | } | ||
| 53 |