PHP Class Bluz\Proxy\Cache

Example of usage use Bluz\Proxy\Cache; if (!$result = Cache::get('some unique id')) { $result = 2*2; Cache::set('some unique id', $result); }
See also: Instance::add()
See also: Instance::set()
See also: Instance::get()
See also: Instance::contains()
See also: Instance::delete()
See also: Instance::flush()
See also: Instance::addTag()
See also: Instance::deleteByTag()
Author: Anton Shevchuk
Inheritance: use trait ProxyTrait
Show file Open project: bluzphp/framework Class Usage Examples

Protected Methods

Method Description
initInstance ( ) : Cache | Bluz\Common\Nil Init instance

Method Details

initInstance() protected static method

Init instance
protected static initInstance ( ) : Cache | Bluz\Common\Nil
return Bluz\Cache\Cache | Bluz\Common\Nil