/** * @return \DateTime */ protected function getLastChecked() { return $this->cache->get('last_checked', -1, function () { return new \DateTime('now'); }); }
/** * @return array|null */ protected function getLastStats() { return $this->cache->get('last_stats', -1, function () { return null; }); }