Пример #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 = array())
    {
        if ($name == 'tag_cache') {
            return $this->getInnerCache();
        } else if ($name == 'lifetime') {
            return parent::getLifetime();
        }

        return parent::getOption($name);
    }