SessionHelper
class SessionHelper extends Helper
SessionHelper provides read-only access to the session attributes.
Methods
mixed
get(string $name, mixed $default = null)
Returns an attribute.
getFlash($name, array $default = array())
No description
getFlashes()
No description
hasFlash($name)
No description
string
getName()
Returns the canonical name of this helper.
Details
in Helper at line line 31
setCharset(string $charset)
Sets the default charset.
in Helper at line line 41
string
getCharset()
Gets the default charset.
at line line 27
__construct(RequestStack $requestStack)
at line line 40
mixed
get(string $name, mixed $default = null)
Returns an attribute.
at line line 45
getFlash($name, array $default = array())
at line line 50
getFlashes()
at line line 55
hasFlash($name)
at line line 76
string
getName()
Returns the canonical name of this helper.