SecurityHelper
extends Helper
in package
SecurityHelper provides read-only access to the security checker.
Tags
Table of Contents
- $securityChecker : mixed
- __construct() : mixed
- getName() : mixed
- {@inheritdoc}
- isGranted() : mixed
Properties
$securityChecker
private
mixed
$securityChecker
Methods
__construct()
public
__construct([AuthorizationCheckerInterface $securityChecker = null ]) : mixed
Parameters
- $securityChecker : AuthorizationCheckerInterface = null
Return values
mixed —getName()
{@inheritdoc}
public
getName() : mixed
Return values
mixed —isGranted()
public
isGranted(mixed $role[, mixed $object = null ][, mixed $field = null ]) : mixed
Parameters
- $role : mixed
- $object : mixed = null
- $field : mixed = null