method isNew documentation in bbn\Cache

Checks whether or not the given item is more recent than the given timestamp.

function(string $item, int $time = NULL) { if (!$time) { return false; } if ($r = $this->getRaw($item)) { return $r['timestamp'] > $time; } return true; }

Checks whether or not the given item is more recent than the given timestamp. 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.