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(Request|RequestStack $requestStack) Constructor. | ||
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.
Constructor.
Returns an attribute
Returns the canonical name of this helper.
© 2004–2016 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/2.7/Symfony/Bundle/FrameworkBundle/Templating/Helper/SessionHelper.html