FlashBagAwareSessionInterface
interface FlashBagAwareSessionInterface implementsSessionInterface
Interface for session with a flashbag.
Methods
bool
migrate(bool$destroy =false,int|null$lifetime =null)
Migrates the current session to a new session id while maintaining all session attributes.
from SessionInterface
void
from SessionInterface
FlashBagInterface
getFlashBag()
No description
Details
bool
invalidate(int|null$lifetime =null)
Invalidates the current session.
Clears all session attributes and flashes and regenerates the session and deletes the old session from persistence.
bool
migrate(bool$destroy =false,int|null$lifetime =null)
Migrates the current session to a new session id while maintaining all session attributes.