Minify_Cache_Memcache::_fetch PHP Méthode

_fetch() private méthode

Fetch data and timestamp from memcache, store in instance
private _fetch ( string $id ) : boolean
$id string
Résultat boolean success
    private function _fetch($id)
    {
        if ($this->_id === $id) {
            return true;
        }
        $ret = $this->_mc->get($id);
        if (false === $ret) {
            $this->_id = null;
            return false;
        }
        list($this->_lm, $this->_data) = explode('|', $ret, 2);
        $this->_id = $id;
        return true;
    }