authHelper->getPermission($name); if ($authItem !== null) { return $authItem; } throw new NotFoundHttpException(); } }