PHP Interface Cartalyst\Sentinel\Cookies\CookieInterface

Datei anzeigen Open project: cartalyst/sentinel Interface Usage Examples

Public Methods

Method Description
forget ( ) : void Remove the Sentinel cookie.
get ( ) : mixed Returns the Sentinel cookie value.
put ( mixed $value ) : void Put a value in the Sentinel cookie (to be stored until it's cleared).

Method Details

forget() public method

Remove the Sentinel cookie.
public forget ( ) : void
return void

get() public method

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

put() public method

Put a value in the Sentinel cookie (to be stored until it's cleared).
public put ( mixed $value ) : void
$value mixed
return void