示例#1
0
文件: Compiler.php 项目: cti/sencha
 public function init()
 {
     if ($this->cache->exists(__CLASS__)) {
         $this->stats = $this->cache->get(__CLASS__);
     }
 }
示例#2
0
文件: Project.php 项目: cti/core
 /**
  * @param Cache $cache
  */
 public function init(Cache $cache)
 {
     if ($cache->exists(get_class($this))) {
         $this->cache = $cache->get(get_class($this));
     }
 }