Spec-Zone.ru › Symfony 4.1

SecurityHelper

class SecurityHelper extends Helper

SecurityHelper предоставляет чтение-только доступ к проверке безопасности.

Свойства

protected $charset из Helper

Методы

setCharset(string $charset)

Устанавливает кодировку по умолчанию.

из Helper
string getCharset()

Получает кодировку по умолчанию.

из Helper
__construct(AuthorizationCheckerInterface $securityChecker = null)
isGranted($role, $object = null, $field = null)
string getName()

Возвращает каноническое имя этого помощника.

Подробности

setCharset(string $charset)

Устанавливает кодировку по умолчанию.

Параметры

string $charset Кодировка

string getCharset()

Получает кодировку по умолчанию.

Возвращаемое значение

string Кодировка по умолчанию

__construct(AuthorizationCheckerInterface $securityChecker = null)

Параметры

AuthorizationCheckerInterface $securityChecker

isGranted($role, $object = null, $field = null)

Параметры

$role
$object
$field

string getName()

Возвращает каноническое имя этого помощника.

Возвращаемое значение

string Каноническое имя

© 2004–2017 Fabien Potencier
Licensed under the MIT License.
https://api.symfony.com/4.1/Symfony/Bundle/SecurityBundle/Templating/Helper/SecurityHelper.html

Spec-Zone.ru

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