Spec-Zone.ru › Symfony 4.1

ИсключениеAccessDeniedException

класс AccessDeniedException расширяет RuntimeException

Исключение AccessDeniedException выбрасывается, когда у учетной записи отсутствует необходимый роль.

Методы

__construct(string $message = 'Доступ запрещен.', Exception $previous = null)
array getAttributes()
setAttributes(array|string $attributes)
mixed getSubject()
setSubject(mixed $subject)

Подробности

__construct(string $message = 'Доступ запрещен.', Exception $previous = null)

Параметры

string $message
Exception $previous

array getAttributes()

Значение возврата

array

setAttributes(array|string $attributes)

Параметры

array|string $attributes

mixed getSubject()

Значение возврата

mixed

setSubject(mixed $subject)

Параметры

mixed $subject

© 2004–2017 Fabien Potencier
Licensed under the MIT License.
https://api.symfony.com/4.1/Symfony/Component/Security/Core/Exception/AccessDeniedException.html

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API