src/mg/Ding/Cache/Impl/MemcachedCacheImpl.php
public function fetch($name, &$result)
    {
        $result = false;
        $value = $this->_memcached->get($name);
        if ($this->_memcached->getResultCode() != \Memcached::RES_SUCCESS) {
            return false;
        }
        $result = true;
        return $value;
    }
public function fetch($name, &$result)
    {
        $result = false;
        $value = $this->_memcached->get($name);
        if ($this->_memcached->getResultCode() != \Memcached::RES_SUCCESS) {
            return false;
        }
        $result = true;
        return $value;
    }
Returns a cached value.

@param string  $name    Key to look for.
@param boolean &$result True on success, false otherwise.

@return mixed