Symfony\Component\HttpFoundation\Session\Storage\SessionStorageInterface
StorageInterface.
- Author: Fabien Potencier <fabien@symfony.com>
Synopsis
interface SessionStorageInterface
{
- // methods
- public boolean start()
- public boolean isStarted()
- public string getId()
- public void setId()
- public mixed getName()
- public void setName()
- public Boolean regenerate()
- public void save()
- public void clear()
- public SessionBagInterface getBag()
- public void registerBag()
- public MetadataBag getMetadataBag()
Methods
public
- clear() — Clear all session data in memory.
- getBag() — Gets a SessionBagInterface by name.
- getId() — Returns the session ID
- getMetadataBag()
- getName() — Returns the session name
- isStarted() — Checks if the session is started.
- regenerate() — Regenerates id that represents this storage.
- registerBag() — Registers a SessionBagInterface for use.
- save() — Force the session to be saved and closed.
- setId() — Sets the session ID
- setName() — Sets the session name
- start() — Starts the session.