Hazaar\Cache\Backend
Chain
The cache backend chaining backend.

This backend allows other caching backends to be chained together for fault tollerance. All operations (has,get,set,remove) are performed on ALL backends at once.

Configuration options for this backend is an array of 'backend_name' => 'backend_options' pairs. (see each backend for available options)

For example:

[ 'file' => [ 'cache_dir' => '/tmp/cache' ], 'memcached' => [ 'server' => 'localhost' ] ]

Summary
MethodsPropertiesConstants
No constants
Properties
$backends
$backends
$order
$order
Methods
Static
available()
available()
clear()
clear()
get()
get($key)
has()
has($key)
init()
init($namespace)
remove()
remove($key)
set()
set($key, $value, $timeout = null)
setExpireTimeout()
setExpireTimeout($timeout)
Powered by Scroly.io Generated: Friday, August 30th 2019 at 11:44am