\Phile\ServiceLocatorCacheInterface

Interface CacheInterface

Summary

Methods
Constants
has()
get()
set()
delete()
No constants found
No protected methods found
N/A
No private methods found
N/A

Methods

has()

has(mixed $key) : mixed

check if an entry with this key exists

Parameters

mixed $key

Returns

mixed

get()

get(mixed $key) : mixed

get the entry by given key

Parameters

mixed $key

Returns

mixed

set()

set(mixed $key, mixed $value, int $time, array $options) : mixed

set the entry to the given key

Parameters

mixed $key
mixed $value
int $time
array $options

Returns

mixed

delete()

delete(mixed $key, array $options) : mixed

delete the entry by given key

Parameters

mixed $key
array $options

Returns

mixed