\Dewdrop\Wp\SessionAccess

Summary

Methods
Properties
Constants
__construct()
get()
set()
remove()
has()
regenerateId()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
$session
N/A

Properties

$session

$session : \ArrayObject|\WP_Session

Type

\ArrayObject|\WP_Session

Methods

__construct()

__construct(  $session) 

Storage constructor.

Parameters

$session

get()

get(string  $name) : mixed

Parameters

string $name

Returns

mixed

set()

set(string  $name, mixed  $value) : $this

Parameters

string $name
mixed $value

Returns

$this

remove()

remove(string  $name) : $this

Parameters

string $name

Returns

$this

has()

has(string  $name) : boolean

Parameters

string $name

Returns

boolean

regenerateId()

regenerateId() : void