\ManaPHP\Http\SessionBagInterface

Summary

Methods
Constants
destroy()
set()
get()
has()
remove()
No constants found
No protected methods found
N/A
No private methods found
N/A

Methods

destroy()

destroy() 

Destroy the session bag

set()

set(string  $property, mixed  $value) 

Setter of values

Parameters

string $property
mixed $value

get()

get(string  $property = null, mixed  $default = null) : mixed

Getter of values

Parameters

string $property
mixed $default

Returns

mixed

has()

has(string  $property) : boolean

Isset property

Parameters

string $property

Returns

boolean

remove()

remove(string  $property) 

Unset property

Parameters

string $property