class SecurityExtension extends Twig_Extension
SecurityExtension exposes security context features.
Methods
__construct(AuthorizationCheckerInterface $securityChecker = null)
isGranted($role, $object = null, $field = null)
getFunctions() {@inheritdoc}
getName() {@inheritdoc}
Details
__construct(AuthorizationCheckerInterface $securityChecker = null)
Parameters AuthorizationCheckerInterface $securityChecker