PHP Interface Jarves\Cache\Backend\CacheInterface

Afficher le fichier Open project: jarves/jarves Interface Usage Examples

Méthodes publiques

Méthode Description
configure ( Cache $cacheConfig )
delete ( string $key ) Deletes data for a key.
get ( string $key ) : mixed Gets the data for a key.
set ( string $key, mixed $value, integer $timeout = null ) : boolean Sets data for a key with a timeout.

Method Details

configure() public méthode

public configure ( Cache $cacheConfig )
$cacheConfig Jarves\Configuration\Cache

delete() public méthode

Deletes data for a key.
public delete ( string $key )
$key string

get() public méthode

Gets the data for a key.
public get ( string $key ) : mixed
$key string
Résultat mixed

set() public méthode

Sets data for a key with a timeout.
public set ( string $key, mixed $value, integer $timeout = null ) : boolean
$key string
$value mixed
$timeout integer
Résultat boolean