PHP Interface Cartalyst\Sentinel\Sessions\SessionInterface

显示文件 Open project: cartalyst/sentinel Interface Usage Examples

Public Methods

Method Description
forget ( ) : void Removes the Sentinel session.
get ( ) : mixed Returns the Sentinel session value.
put ( mixed $value ) : void Put a value in the Sentinel session.

Method Details

forget() public method

Removes the Sentinel session.
public forget ( ) : void
return void

get() public method

Returns the Sentinel session value.
public get ( ) : mixed
return mixed

put() public method

Put a value in the Sentinel session.
public put ( mixed $value ) : void
$value mixed
return void