src/mg/Ding/Cache/Impl/FileCacheImpl.php
public function fetch($name, &$result)
    {
        $result = false;
        $filename = $this->_directory . $this->_sanitize($name);
        clearstatcache(false, $filename);
        if (!@file_exists($filename)) {
            return false;
        }
        $result = true;
        $data = @file_get_contents($filename);
        $data = unserialize($data);
        return $data;
    }
public function fetch($name, &$result)
    {
        $result = false;
        $filename = $this->_directory . $this->_sanitize($name);
        clearstatcache(false, $filename);
        if (!@file_exists($filename)) {
            return false;
        }
        $result = true;
        $data = @file_get_contents($filename);
        $data = unserialize($data);
        return $data;
    }
Returns a cached value.

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

@return mixed