PHP Interface Airship\Engine\Contract\CacheInterface

Afficher le fichier Open project: paragonie/airship Interface Usage Examples

Méthodes publiques

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

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

get() public méthode

Get a cache entry
public get ( string $key ) : null | mixed
$key string
Résultat null | mixed

set() public méthode

Set a cache entry
public set ( string $key, $value ) : mixed
$key string
$value
Résultat mixed