protected function invalidateCache() { $this->cache = null; _elgg_services()->boot->invalidateCache(); _elgg_services()->entityCache->clear(); }