Hazaar\Cache
Backend
Summary
Methods | Properties | Constants |
---|---|---|
No constants |
Properties
$capabilities
$capabilities
The backends list of capabilities
Standard capabilities are:
- store_objects - Backend can directly store & return objects. Whether the backend itself really can (like APCu) or the backend class takes care of this.
- compress - Can compress objects being stored. If the backend can do this, then we don't want the frontend to ever do it.
- array - Can return all elements in the cache as an associative array
- expire_ns - Backend supports storage TTLs on the namespace as a whole.
- expire_val - Backend supports storage TTLs on individual values stored within the namespace
- keepalive - When a value is accessed it's TTL can be reset to keep it alive in cache.
$options
$options
$weight
$weight
Methods
__construct()
__construct($options, $namespace)
__destruct()
__destruct()
addCapabilities()
addCapabilities()
can()
can($key)
configure()
configure($options)
getWeight()
getWeight()
Powered by Scroly.io
Generated: Thursday, April 1st 2021 at 11:18am