PHP Interface Xpressengine\Support\CacheInterface

Author: XE Developers ([email protected])
Afficher le fichier Open project: xpressengine/xpressengine Interface Usage Examples

Méthodes publiques

Méthode Description
forget ( string $key ) : void remove
get ( string $key ) : mixed getter
has ( string $key ) : boolean has
put ( string $key, mixed $value, integer $minutes = null ) : mixed setter

Method Details

forget() public méthode

remove
public forget ( string $key ) : void
$key string key name
Résultat void

get() public méthode

getter
public get ( string $key ) : mixed
$key string key name
Résultat mixed

has() public méthode

has
public has ( string $key ) : boolean
$key string key name
Résultat boolean

put() public méthode

setter
public put ( string $key, mixed $value, integer $minutes = null ) : mixed
$key string key name
$value mixed the value
$minutes integer expire time
Résultat mixed