/** * Removes a dashboard from the model * @param Dashboard $dashboard * @return null */ public function removeDashboard(Dashboard $dashboard) { $this->cache->clear(self::CACHE_TYPE, $dashboard->getName()); }
/** * Clears the complete cache * @return null */ public function clear() { $this->cache->clear(); $this->indexModel = array(); }