bool invalidate(int $lifetime = null) Invalidates the current session. Clears all session
bool migrate(bool $destroy = false, int $lifetime = null) Migrates the current session to a new
bool has(string $name) Checks if an attribute is defined.
int getLifetime() Gets the lifetime that the session cookie was set with.
mixed getName() Returns the session name.
save() Force the session to be saved and closed. This method must invoke sessionwriteclose()
initialize(array $attributes) Initializes the Bag.
bool isStarted() Checks if the session was started.
string getSaveHandlerName() Gets the session.save_handler name.
close() {@inheritdoc}
Page 18 of 23