save() Force the session to be saved and closed. This method is generally not required for
bool regenerate(bool $destroy = false, int $lifetime = null) Regenerates id that represents this
add(string $type, string $message) Adds a flash message for type.
int count() Returns the number of attributes.
destroy($sessionId) {@inheritdoc} Parameters
save() Force the session to be saved and closed. This method must invoke sessionwriteclose()
bool has(string $name) Checks if an attribute is defined.
array all() Gets and clears flashes from the stack.
setId(string $id) Sets the session ID. Parameters
Page 15 of 23