\Pop\SessionSessionInterface

Session interface

Summary

Methods
Constants
kill()
setTimedValue()
setRequestValue()
No constants found
No protected methods found
N/A
No private methods found
N/A

Methods

kill()

kill() : void

Destroy the session

setTimedValue()

setTimedValue(string  $key, mixed  $value, integer  $expire = 300) : \Pop\Session\SessionInterface

Set a time-based value

Parameters

string $key
mixed $value
integer $expire

Returns

\Pop\Session\SessionInterface

setRequestValue()

setRequestValue(string  $key, mixed  $value, integer  $hops = 1) : \Pop\Session\SessionInterface

Set a request-based value

Parameters

string $key
mixed $value
integer $hops

Returns

\Pop\Session\SessionInterface