CacheInterface
in
Generic Cache Interface.
Tags
Table of Contents
- getItem() : string
- Get cache entry.
- hasItem() : bool
- Check if cache entry exists.
- setItem() : mixed
- Set cache entry.
Methods
getItem()
Get cache entry.
public
getItem(string $key) : string
Parameters
- $key : string
Return values
string —hasItem()
Check if cache entry exists.
public
hasItem(string $key) : bool
Parameters
- $key : string
Return values
bool —setItem()
Set cache entry.
public
setItem(string $key, string $content) : mixed
Parameters
- $key : string
- $content : string