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