PHP Interface ManaPHP\Http\Session\BagInterface

Afficher le fichier Open project: manaphp/manaphp

Méthodes publiques

Méthode 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 méthode

Destroy the session bag
public destroy ( )

get() public méthode

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

has() public méthode

Isset property
public has ( string $property ) : boolean
$property string
Résultat boolean

remove() public méthode

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

set() public méthode

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