class SecurityHelper extends Helper

SecurityHelper provides read-only access to the security checker.

Properties

protected $charset from Helper

Methods

setCharset(string $charset)

Sets the default charset.

from Helper
string
getCharset()

Gets the default charset.

from Helper
__construct(AuthorizationCheckerInterface $securityChecker = null)

No description

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

No description

string
getName()

Returns the canonical name of this helper.

Details

in Helper at line 31
setCharset(string $charset)

Sets the default charset.

Parameters

string $charset The charset

in Helper at line 41
string getCharset()

Gets the default charset.

Return Value

string The default charset

at line 27
__construct(AuthorizationCheckerInterface $securityChecker = null)

Parameters

AuthorizationCheckerInterface $securityChecker

at line 32
isGranted($role, $object = null, $field = null)

Parameters

$role
$object
$field

at line 48
string getName()

Returns the canonical name of this helper.

Return Value

string The canonical name