PHP Interface Larabros\Elogram\Http\Sessions\DataStoreInterface

Show file Open project: larabros/elogram Interface Usage Examples

Public Methods

Method Description
get ( string $key ) : mixed Get a value from a data store.
set ( string $key, mixed $value ) : void Set a value in the data store.

Method Details

get() public method

Get a value from a data store.
public get ( string $key ) : mixed
$key string
return mixed

set() public method

Set a value in the data store.
public set ( string $key, mixed $value ) : void
$key string
$value mixed
return void