class SecurityExtension extends AbstractExtension

SecurityExtension exposes security context features.

Methods

__construct(AuthorizationCheckerInterface $securityChecker = null)

No description

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

No description

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}