SessionBagInterface::initialize()

initialize(array $array) Initializes the Bag. Parameters array $array

SessionBagInterface::getStorageKey()

string getStorageKey() Gets the storage key for this bag. Return Value string

SessionBagInterface::getName()

string getName() Gets this bag's name. Return Value string

SessionBagInterface::clear()

mixed clear() Clears out data from bag. Return Value mixed Whatever data was contained

SessionCsrfProvider deprecated

class SessionCsrfProvider extends DefaultCsrfProvider deprecated since version 2.4, to be removed in 3.0. Use {@link \Symfony\Component\Security\Csrf\CsrfTokenManager} in combination with {@link \Symfony\Component\Security\Csrf\TokenStorage\SessionTokenStorage} instead. This provider uses a Symfony Session object to retrieve the user's session ID. Methods __construct(Session $session, string $secret) Initializes the provider with a Session object and a secret value. string gener

Session::start()

bool start() Starts the session storage. Return Value bool True if session started Exceptions RuntimeException If session fails to start.

SessionBagInterface

interface SessionBagInterface Session Bag store. Methods string getName() Gets this bag's name. initialize(array $array) Initializes the Bag. string getStorageKey() Gets the storage key for this bag. mixed clear() Clears out data from bag. Details string getName() Gets this bag's name. Return Value string initialize(array $array) Initializes the Bag. Parameters array $array

SessionAuthenticationStrategy

class SessionAuthenticationStrategy implements SessionAuthenticationStrategyInterface The default session strategy implementation. Supports the following strategies: NONE: the session is not changed MIGRATE: the session id is updated, attributes are kept INVALIDATE: the session id is updated, attributes are lost Constants NONE MIGRATE INVALIDATE Methods __construct($strategy) onAuthentication(Request $request, TokenInterface $token) This performs any necessary changes

SessionAuthenticationStrategyInterface

interface SessionAuthenticationStrategyInterface SessionAuthenticationStrategyInterface. Implementation are responsible for updating the session after an interactive authentication attempt was successful. Methods onAuthentication(Request $request, TokenInterface $token) This performs any necessary changes to the session. Details onAuthentication(Request $request, TokenInterface $token) This performs any necessary changes to the session. This m

Session::save()

save() Force the session to be saved and closed. This method is generally not required for real sessions as the session will be automatically saved at the end of code execution.