class SecurityExtension extends AbstractExtension
SecurityExtension exposes security context features.
__construct(AuthorizationCheckerInterface $securityChecker = null) | ||
isGranted($role, $object = null, $field = null) | ||
getFunctions() {@inheritdoc} | ||
getName() {@inheritdoc} |
AuthorizationCheckerInterface | $securityChecker |
$role | ||
$object | ||
$field |
{@inheritdoc}
{@inheritdoc}
© 2004–2017 Fabien Potencier
Licensed under the MIT License.
https://api.symfony.com/4.1/Symfony/Bridge/Twig/Extension/SecurityExtension.html