protected function performAccessChecks() { if (!$this->isGranted(new AuthorizationAttribute('content', 'read'))) { throw new AccessDeniedException(); } }