\Fuman_Session_Storage_Interface

Represents a Session Storage

Summary

Methods
Constants
getId()
getExpire()
read()
write()
delete()
close()
regenerateId()
No constants found
No protected methods found
N/A
No private methods found
N/A

Methods

getId()

getId() : string

Gets session id

Returns

string

getExpire()

getExpire() : integer

Get expire time in minutes

Returns

integer

read()

read(string  $sessionKey) : array

Returns session data

Parameters

string $sessionKey

Returns

array

write()

write(string  $sessionKey, array|null  $data = null) : boolean

Write session data

Parameters

string $sessionKey
array|null $data

Returns

boolean

delete()

delete() : void

Delete session data

close()

close() : void

Close session data (Only used for long request execution)

regenerateId()

regenerateId() : void

Regenerates the session id