PHP Interface Airship\Engine\Contract\CacheInterface

Show file Open project: paragonie/airship Interface Usage Examples

Public Methods

Method Description
delete ( string $key ) Delete a cache entry
get ( string $key ) : null | mixed Get a cache entry
set ( string $key, $value ) : mixed Set a cache entry

Method Details

delete() public method

Delete a cache entry
public delete ( string $key )
$key string

get() public method

Get a cache entry
public get ( string $key ) : null | mixed
$key string
return null | mixed

set() public method

Set a cache entry
public set ( string $key, $value ) : mixed
$key string
$value
return mixed