class SessionHelper extends Helper
SessionHelper provides read-only access to the session attributes.
setCharset(string $charset) Sets the default charset. | from Helper | |
string | getCharset() Gets the default charset. | from Helper |
__construct(RequestStack $requestStack) | ||
mixed | get(string $name, mixed $default = null) Returns an attribute. | |
getFlash($name, array $default = array()) | ||
getFlashes() | ||
hasFlash($name) | ||
string | getName() Returns the canonical name of this helper. |
Sets the default charset.
Gets the default charset.
Returns an attribute.
Returns the canonical name of this helper.
© 2004–2016 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/3.0/Symfony/Bundle/FrameworkBundle/Templating/Helper/SessionHelper.html