取出一个缓存的值
@param string $key 键
@return mixed 复杂对象
504561
public function get(string $key)
    {
        //从缓存中取值,并解码
        $value = json_decode(Redis::getString(self::PREFIX . $key), true);

        return parent::debugGet($key, is_null($value) ? CacheFactory::NOT_FOUND : $value);
    }
1014430
public function get(string $key)
    {
        foreach ($this->pairs as $pair) {
            if ($key === $pair[0]) {
                return $pair[1];
            }
        }

        return null;
    }
397639
public function getAndRemove(string $key)
	{
		$storedValue = $this->get($key);

		if($storedValue !== false)
		{
			$this->remove($key);
		}

		return $storedValue;
	}
724533
public static function get($key = ""){
		if($key){
			$v = self::getRequest()->get($key);
		}else{
			$v = self::getRequest()->get();
		}
		return $v;
	}
1214277
public static function get(string $key)
    {
        // Start session if needed
        if (! session_id()) {
            self::start();
        }

        // Fetch key
        if (Session::exists((string) $key)) {
            return $_SESSION[(string) $key];
        }

        // Key doesn't exist
        return null;
    }
103230
public function &get($key)
	{
		$out = ($this->exists($key)) ? $this->meta[$key] : false;
		return $out;
	}
330517
public function extractKey($key)
    {
        $self       = clone($this);
        $self->data = Accessor::get($this->data, $key) ?: [];
        return $self;
    }
1310949
public function getConfig(string $key)
    {
        //使用回调函数
        if (self::$config instanceof \Closure) {
            return call_user_func(self::$config, $key);
        } //直接注册数组
        elseif (is_array(self::$config)) {
            if (preg_match('@^(\w+)\.(.+)$@', $key, $m)) {
                $name = trim($m[1]);
                $key = trim($m[2]);
                if (isset(self::$config[$name]) && isset(self::$config[$name][$key])) {
                    return self::$config[$name][$key];
                }
                return null;
            }
            return isset(self::$config[$key]) ? self::$config[$key] : null;
        } //使用实例
        elseif (self::$config != null && method_exists(self::$config, 'get')) {
            return self::$config->get($key);
        }
        return null;
    }
1293384
public function get($key)
    {
        $key = $this->createKey($key);
        return $this->instance->get($key);
    }
334379
public static function getAndRemove(string $key)
    {
        static::startSessionIfNotHasStartedForceWrite();

        $value = static::get($key);
        static::remove($key);

        return $value;
    }
1064484
public function get($key)
    {
        if (! isset($this->storage[$key])) {
            return;
        }

        $item = $this->storage[$key];

        $expiresAt = $item['expiresAt'] ?? 0;

        if ($expiresAt !== 0 && $this->currentTime() > $expiresAt) {
            $this->forget($key);

            return;
        }

        return $item['value'];
    }
557821
public static function get(string $key)
    {
        if (!self::$instance) {
            return null;
        }

        return self::$instance->engine->get($key);
    }
948351
public function get($key)
    {
        $value = $this->connection()->get($this->prefix.$key);

        return ! is_null($value) ? $this->unserialize($value) : null;
    }
1021280
private function get($key) {
		if (isset($_SESSION[self::SESSION_KEY_FLASH]) && isset($_SESSION[self::SESSION_KEY_FLASH][$key])) {
			$message = $_SESSION[self::SESSION_KEY_FLASH][$key];

			unset($_SESSION[self::SESSION_KEY_FLASH][$key]);

			return $message;
		}
		else {
			return null;
		}
	}
182580
public function get(string $key) {
		return ($content = $this->driver->get($key)) ? static::unserialize($content) : null;
	}
732205
public function get(string $key)
    {
        $func = self::$type . '_fetch';
        return parent::debugGet($key, $func($key));
    }
315351
function get($key)
    {
        $data = $this->connection->get($key);
        $dataType = substr($data, 0, 2);

        // 如果是array或object需要反序列化
        if ($dataType === 'a:' || $dataType === 'O:') {
            $data = unserialize($data);
        }

        return $data;
    }