method getSetFromCache documentation in bbn\Mvc\Model
Returns the cache for the given item, but if expired or absent creates it before by running the provided function.
function(Closure $fn, array $data = NULL, string $spec = '', int $ttl = 10)
{
if ($cn = $this->_cache_name($data, $spec)) {
return $this->cacheGetSet($fn, $cn, '', $ttl) ?: null;
}
return null;
}
Returns the cache for the given item, but if expired or absent creates it before by running the provided function. 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.
© 2011-2025
BBN Solutions