PHP Interface ManaPHP\Http\Session\BagInterface

Mostra file Open project: manaphp/manaphp

Public Methods

Method Description
destroy ( ) Destroy the session bag
get ( string $property = null, mixed $defaultValue = null ) : mixed Getter of values
has ( string $property ) : boolean Isset property
remove ( string $property ) Unset property
set ( string $property, mixed $value ) Setter of values

Method Details

destroy() public method

Destroy the session bag
public destroy ( )

get() public method

Getter of values
public get ( string $property = null, mixed $defaultValue = null ) : mixed
$property string
$defaultValue mixed
return mixed

has() public method

Isset property
public has ( string $property ) : boolean
$property string
return boolean

remove() public method

Unset property
public remove ( string $property )
$property string

set() public method

Setter of values
public set ( string $property, mixed $value )
$property string
$value mixed