{@inheritdoc}

 Methods

Create a new instance.

__construct(string $key) 

Parameters

$key

string

The key to use for storage.

{@inheritdoc}

all() 

{@inheritdoc}

clear() 

{@inheritdoc}

get($name) 

Parameters

$name

{@inheritdoc}

has($name) 

Parameters

$name

{@inheritdoc}

remove($name) 

Parameters

$name

{@inheritdoc}

replace(array $attributes) 

Parameters

$attributes

{@inheritdoc}

set($name, $value) 

Parameters

$name

$value

Load the data from the session if it has not been loaded yet.

load() : void

Save the data to the session.

persist() : void

 Properties

 

The attribute storage.

$attributes : array
 

The session key.

$key : string