class SecurityHelper extends Helper
SecurityHelper provides read-only access to the security checker.
| protected | $charset | from Helper |
| setCharset(string $charset) Sets the default charset. | from Helper | |
| string | getCharset() Gets the default charset. | from Helper |
| __construct(AuthorizationCheckerInterface $securityChecker = null) | ||
| isGranted($role, $object = null, $field = null) | ||
| string | getName() Returns the canonical name of this helper. |
Sets the default charset.
| string | $charset | The charset |
Gets the default charset.
| string | The default charset |
| AuthorizationCheckerInterface | $securityChecker |
| $role | ||
| $object | ||
| $field |
Returns the canonical name of this helper.
| string | The canonical name |
© 2004–2017 Fabien Potencier
Licensed under the MIT License.
https://api.symfony.com/4.1/Symfony/Bundle/SecurityBundle/Templating/Helper/SecurityHelper.html