/** * Gets a dashboard from the model * @param string $name Name of the dashboard * @return Dashboard */ public function getDashboard($name) { return $this->cache->get(self::CACHE_TYPE, $name); }
/** * Reads the index of the models * @return null */ private function readModelIndex() { $this->indexModel = $this->cache->get(self::CACHE_TYPE_INDEX, self::CACHE_TYPE_MODEL, array()); }