SecurityExtension

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

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

Parameters

$role
$object
$field

getFunctions()

{@inheritdoc}

getName()

{@inheritdoc}

doc_Symfony
2016-10-28 06:31:40
Comments
Leave a Comment

Please login to continue.