\Heise\ShariffZendCache

Implement ZendCache.

Summary

Methods
Properties
Constants
__construct()
setItem()
getItem()
hasItem()
No public properties found
No constants found
No protected methods found
$cache
N/A
No private methods found
No private properties found
N/A

Properties

$cache

$cache :\Zend\Cache\Storage\StorageInterface

Type

\Zend\Cache\Storage\StorageInterface

Methods

__construct()

__construct(array  $configuration)

Parameters

array $configuration

Throws

\Zend\Cache\Exception\InvalidArgumentException
\Zend\Cache\Exception\RuntimeException

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