Spec-Zone.ru › Symfony 3.2

AccessDeniedException

class AccessDeniedException extends RuntimeException

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

Методы

__construct($message = 'Access Denied.', Exception $previous = null)
array getAttributes()
setAttributes(array|string $attributes)
mixed getSubject()
setSubject(mixed $subject)

Подробности

__construct($message = 'Access Denied.', Exception $previous = null)

Параметры

$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.
http://api.symfony.com/3.2/Symfony/Component/Security/Core/Exception/AccessDeniedException.html

Spec-Zone.ru

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