NativeSessionStorage::getBag()

SessionBagInterface getBag(string $name) Gets a SessionBagInterface by name. Parameters string $name Return Value SessionBagInterface Exceptions InvalidArgumentException If the bag does not exist

NativeSessionStorage::clear()

clear() Clear all session data in memory.

NativeSessionStorage

class NativeSessionStorage implements SessionStorageInterface This provides a base class for session attribute storage. Methods __construct(array $options = array(), AbstractProxy|NativeSessionHandler|SessionHandlerInterface|null $handler = null, MetadataBag $metaBag = null) Constructor. AbstractProxy getSaveHandler() Gets the save handler instance. bool start() Starts the session. string getId() Returns the session ID. setId(string $id) Sets the session ID. mixed

NativeSessionHandler

class NativeSessionHandler extends SessionHandler Adds SessionHandler functionality if available.

NativeRequestHandler

class NativeRequestHandler implements RequestHandlerInterface A request handler using PHP's super globals $GET, $POST and $_SERVER. Methods __construct(ServerParams $params = null) {@inheritdoc} handleRequest(FormInterface $form, mixed $request = null) Submits a form if it was submitted. Details __construct(ServerParams $params = null) {@inheritdoc} Parameters ServerParams $params handleRequest(FormInterf

NativeProxy

class NativeProxy extends AbstractProxy NativeProxy. This proxy is built-in session handlers in PHP 5.3.x Methods string getSaveHandlerName() Gets the session.save_handler name. from AbstractProxy bool isSessionHandlerInterface() Is this proxy handler and instance of \SessionHandlerInterface. from AbstractProxy bool isWrapper() Returns true if this handler wraps an internal PHP session save handler using \SessionHandler. bool isActive() Has a session started? from AbstractP

NativeFileSessionHandler

class NativeFileSessionHandler extends NativeSessionHandler NativeFileSessionHandler. Native session handler using PHP's built in file storage. Methods __construct(string $savePath = null) Constructor. Details __construct(string $savePath = null) Constructor. Parameters string $savePath Path of directory to save session files Default null will leave setting as defined by PHP. '/path', 'N;/path', or 'N;octal-mode;/path Exceptions InvalidArgum

NamespacedAttributeBag::remove()

mixed remove(string $name) Removes an attribute. Parameters string $name Return Value mixed The removed value or null when it does not exist

NamespacedAttributeBag::has()

bool has(string $name) Checks if an attribute is defined. Parameters string $name The attribute name Return Value bool true if the attribute is defined, false otherwise

NamespacedAttributeBag

class NamespacedAttributeBag extends AttributeBag This class provides structured storage of session attributes using a name spacing character in the key. Methods __construct(string $storageKey = '_sf2_attributes', string $namespaceCharacter = '/') Constructor. string getName() Gets this bag's name. from AttributeBag setName($name) from AttributeBag initialize(array $attributes) Initializes the Bag. from AttributeBag string getStorageKey() Gets the storage key for this b