\Heise\ShariffCacheInterface

Generic Cache Interface.

Summary

Methods
Constants
setItem()
getItem()
hasItem()
No constants found
No protected methods found
N/A
No private methods found
N/A

Methods

setItem()

setItem(string  $key,string  $content)

Set cache entry.

Parameters

string $key
string $content

getItem()

getItem(string  $key): string

Get cache entry.

Parameters

string $key

Returns

string

hasItem()

hasItem(string  $key): boolean

Check if cache entry exists.

Parameters

string $key

Returns

boolean