method setCache documentation in bbn\Mvc\Model

Sets a cache from the given data.

function(array $data = NULL, string $spec = '', $ttl = 10) { if ($this->_path) { $d = $this->get($data); $this->cacheSet($this->_cache_name($data, $spec), '', $d, $ttl); } }

Sets a cache from the given data. BBN is a suite of PHP and JS libraries and VueJS components - all open-source! bbn.io, build applications, the quick way

This website uses cookies to ensure you get the best experience on our website.