private function loadDb() { if (null === $this->cache) { $this->cache = file_exists($this->filename) ? unserialize(file_get_contents($this->filename)) : []; } return $this->cache; }