Prado\Caching\TMemCache::addValue PHP Метод

addValue() защищенный Метод

This is the implementation of the method declared in the parent class.
protected addValue ( $key, $value, $expire ) : boolean
Результат boolean true if the value is successfully stored into cache, false otherwise
    protected function addValue($key, $value, $expire)
    {
        if ($this->_useMemcached) {
            $this->_cache->add($key, $value, $expire);
        } else {
            return $this->_cache->add($key, $value, 0, $expire);
        }
    }