public function get($key, $default = false)
    {
        $value = $this->memcached->get($key);

        if ($this->memcached->getResultCode() == 0) {
            return $value;
        } else {
            return $default;
        }
    }
public function get($key, $default = false)
    {
        $value = $this->memcached->get($key);

        if ($this->memcached->getResultCode() == 0) {
            return $value;
        } else {
            return $default;
        }
    }
public function get ( $ key , $ default = false ) { $ value = $ this -> memcached -> get ( $ key ) ; if ( $ this -> memcached -> getResultCode ( ) == 0 ) { return $ value ; } else { return $ default ; } }
Returns from the cache

@param string $key
@param boolean $default
@return mixed
Returns from the cache