/** * 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 { if (in_array($name, $this->_options)) { return $this->_options[$name]; } if ($name == 'lifetime') { return parent::getLifetime(); } return null; } }
/** * 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 = array()) { if ($name == 'tag_cache') { return $this->getInnerCache(); } else if ($name == 'lifetime') { return parent::getLifetime(); } return parent::getOption($name); }