\Pivot\Core\InterfacesCacheAdaptor

CacheAdaptor class

Summary

Methods
Constants
start()
stop()
get()
write()
No constants found
No protected methods found
N/A
No private methods found
N/A

Methods

start()

start(string  $key) : boolean

Parameters

string $key

bearerToken

Returns

boolean

stop()

stop() : boolean

Returns

boolean

get()

get(string  $key = null) : mixed

Parameters

string $key

key search value

Returns

mixed

write()

write(string  $data, string  $key = null) : boolean

Write cache to adaptor

Parameters

string $data
string $key

key to store the data under

Returns

boolean