Symfony\Bundle\FrameworkBundle\Templating\Helper\SessionHelper
SessionHelper provides read-only access to the session attributes.
- Author: Fabien Potencier <fabien@symfony.com>
Synopsis
class SessionHelper
extends Helper
{
- // members
- protected $session;
- // Inherited members from Helper
- protected string $charset;
- // methods
- public void __construct()
- public mixed get()
- public void getFlash()
- public void getFlashes()
- public void hasFlash()
- public string getName()
- // Inherited methods from Helper
- public void setCharset()
- public string getCharset()
Hierarchy
Members
protected
- $charset
- $session
Methods
public
- __construct() — Constructor.
- get() — Returns an attribute
- getFlash()
- getFlashes()
- getName() — Returns the canonical name of this helper.
- hasFlash()
Inherited from Symfony\Component\Templating\Helper\Helper
public
- getCharset() — Gets the default charset.
- setCharset() — Sets the default charset.