/**
  * saves the definitions to cache
  */
 public function saveToCache()
 {
     $this->cache->set("container", serialize($this->definitions));
 }
示例#2
0
 /**
  * saves the routes to cache
  */
 public function saveToCache()
 {
     $this->cache->set("routes", serialize($this->routes));
 }
示例#3
0
 /**
  * saves the parameters to cache
  */
 public function saveToCache()
 {
     $this->cache->set("config", serialize($this->parameters));
 }