ZendCache
in package
implements
CacheInterface
Implement ZendCache.
Interfaces, Classes, Traits and Enums
- CacheInterface
- Generic Cache Interface.
Table of Contents
- $cache : StorageInterface
- __construct() : mixed
- getItem() : string
- Get cache entry.
- hasItem() : bool
- Check if cache entry exists.
- setItem() : mixed
- Set cache entry.
Properties
$cache
protected
StorageInterface
$cache
Methods
__construct()
public
__construct(array<string|int, mixed> $configuration) : mixed
Parameters
- $configuration : array<string|int, mixed>
Tags
Return values
mixed —getItem()
Get cache entry.
public
getItem(mixed $key) : string
Parameters
- $key : mixed
Return values
string —hasItem()
Check if cache entry exists.
public
hasItem(mixed $key) : bool
Parameters
- $key : mixed
Return values
bool —setItem()
Set cache entry.
public
setItem(mixed $key, mixed $content) : mixed
Parameters
- $key : mixed
- $content : mixed