interface SessionManagerInterface implements SessionStorageInterface (View source)

Defines the session manager interface.

Methods

delete(int $uid)

Ends a specific user's session(s).

destroy()

Destroys the current session and removes session cookies.

setWriteSafeHandler(WriteSafeSessionHandlerInterface $handler)

Sets the write safe session handler.

Details

delete(int $uid)

Ends a specific user's session(s).

Parameters

int $uid

User ID.

destroy()

Destroys the current session and removes session cookies.

setWriteSafeHandler(WriteSafeSessionHandlerInterface $handler)

Sets the write safe session handler.

Parameters

WriteSafeSessionHandlerInterface $handler