Ejemplo n.º 1
0
 /**
  * Retrieve any option via interception of the parent's statically held
  * options including the local option for a tag cache.
  *
  * @param  string $name
  * @return mixed
  */
 public function getOption($name)
 {
     $name = strtolower($name);
     if ($name == 'tag_cache') {
         return $this->getInnerCache();
     }
     return parent::getOption($name);
 }
Ejemplo n.º 2
0
 /**
  * Retrieve any option via interception of the parent's statically held
  * options including the local option for a tag cache.
  *
  * @param  string $name
  * @return mixed
  */
 public function getOption($name)
 {
     if ($name == 'tag_cache') {
         return $this->getInnerCache();
     } else {
         return parent::getOption($name);
     }
 }