示例#1
0
文件: File.php 项目: molajo/cache
 /**
  * Connect to the Cache
  *
  * @param   array $options
  *
  * @return  $this
  * @since   1.0.0
  */
 public function connect($options = array())
 {
     parent::connect($options);
     $this->cache_folder = null;
     if (isset($options['cache_folder'])) {
         $this->cache_folder = $options['cache_folder'];
     }
     $this->createFolder();
     return $this;
 }
示例#2
0
文件: Memory.php 项目: molajo/cache
 /**
  * Connect to Cache
  *
  * @param   array $options
  *
  * @return  $this
  * @since   1.0.0
  */
 public function connect($options = array())
 {
     parent::connect($options);
     $this->cache_container = array();
     return $this;
 }
示例#3
0
文件: Dummy.php 项目: molajo/cache
 /**
  * Connect to Cache
  *
  * @param   array $options
  *
  * @return  $this
  * @since   1.0.0
  */
 public function connect($options = array())
 {
     parent::connect($options);
     return $this;
 }