PHP Interface Xpressengine\Support\CacheInterface

Author: XE Developers ([email protected])
Mostrar archivo Open project: xpressengine/xpressengine Interface Usage Examples

Public Methods

Method 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 method

remove
public forget ( string $key ) : void
$key string key name
return void

get() public method

getter
public get ( string $key ) : mixed
$key string key name
return mixed

has() public method

has
public has ( string $key ) : boolean
$key string key name
return boolean

put() public method

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