Cml\Cache\Memcache::get PHP Method

get() public method

根据key取值
public get ( mixed $key ) : mixed
$key mixed 要获取的缓存key
return mixed
    public function get($key)
    {
        if ($this->type === 1) {
            $return = $this->memcache->get($key);
        } else {
            $return = json_decode($this->memcache->get($this->conf['prefix'] . $key), true);
        }
        is_null($return) && ($return = false);
        return $return;
        //orm层做判断用
    }