Symfony\Bundle\SecurityBundle\Templating\Helper\SecurityHelper
SecurityHelper provides read-only access to the security context.
- Author: Fabien Potencier <fabien@symfony.com>
Synopsis
class SecurityHelper
extends Helper
{
- // members
- private $context;
- // Inherited members from Helper
- protected string $charset;
- // methods
- public void __construct()
- public void isGranted()
- public string getName()
- // Inherited methods from Helper
- public void setCharset()
- public string getCharset()
Hierarchy
Members
private
- $context
protected
- $charset
Methods
public
- __construct() — Constructor.
- getName() — Returns the canonical name of this helper.
- isGranted()
Inherited from Symfony\Component\Templating\Helper\Helper
public
- getCharset() — Gets the default charset.
- setCharset() — Sets the default charset.