\Everyman\Neo4jCache

Interface for interacting with a caching backend

Summary

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

Methods

delete()

delete(string $key) : boolean

Delete a value from the cache

Parameters

string $key

Returns

boolean —

true on success

get()

get(string $key) : mixed

Retrieve a value Returns false if the key does not exist, or the value is false

Parameters

string $key

Returns

mixed

set()

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

Store a value in the cache $expire is specified as an integer: - less than or equal to 2592000 (the number of seconds in 30 days) will be considered an expire time of that many seconds from the current timestamp - Greater than that amount will be considered as literal Unix timestamp values - 0 means "never expire."

Parameters

string $key
mixed $value
integer $expire

Returns

boolean —

true on success