\Everyman\Neo4j\CacheNull

Cache that always indicates success but does not store anything

Summary

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

Methods

delete()

delete(string $key) : boolean

Delete always succeeds

Parameters

string $key

Returns

boolean —

true on success

get()

get(string $key) : mixed

Always false, since no value is stored

Parameters

string $key

Returns

mixed

set()

set(string $key, mixed $value, integer $expire) : boolean

Always indicates success, but does not actually store value

Parameters

string $key
mixed $value
integer $expire

Returns

boolean —

true on success