RequestCacheStorage
in package
implements
CacheStorageInterface
Table of Contents
Interfaces
- CacheStorageInterface
Properties
- $profile : string
Methods
- __construct() : mixed
- delete() : bool
- fetch() : null|CacheEntry
- save() : bool
Properties
$profile
protected
string
$profile
jCache profile
Methods
__construct()
public
__construct(string $profile) : mixed
Parameters
- $profile : string
-
the jCache profile
delete()
public
delete(string $key) : bool
Parameters
- $key : string
Return values
boolfetch()
public
fetch(string $key) : null|CacheEntry
Parameters
- $key : string
Return values
null|CacheEntry —the data or false
save()
public
save(string $key, CacheEntry $data) : bool
Parameters
- $key : string
- $data : CacheEntry