Get Original Key from any Format

@param string $key
@param $default if key not found
@return Original Key or $default
342021
public function getOriginal(string $key, $default = null)
    {
        if ($this->has($key)) {
            return parent::get(Formater::normalize($key))['key'];
        }

        return $default;
    }
584859
public function get(string $key, $default = null)
    {
        if (array_key_exists($key, $this->input)) {
            return $this->input[$key];
        } elseif (array_key_exists($key, $this->cache)) {
            return $this->cache[$key];
        }

        // No dot, then not nested keys. We already tried that key and were not lucky.
        if (false === strpos($key, '.')) {
            return $this->default($default);
        }

        try {
            $return = $this->find($this->input, $key);
        } catch (\Exception $e) {
            $return = $this->default($default);
        }
        return $return;
    }
31322
public function get($key, $default = null)
    {
        try {
            $value = $this->find($key);

            return is_string($value) ? $this->replace($value) : $value;
        } catch (\Exception $exception) {
            return $default;
        }
    }
975396
public function get($key, $default = null) {
		$keys = explode('.', $key);
		$conf = empty($this->environment) ? $this->conf : $this->conf[$this->environment];
		foreach ($keys as $v) {
			if (isset($conf[$v])) {
				$conf = $conf[$v];
			} else {
				return $default;
			}
		}
		return $conf;
	}
390673
public function get($key, $default = null)
    {
        $values = parent::get(static::normalizeKey($key), $default);

        if (is_array($values) && count($values) === 1) {
            return $values[0];
        }
        return $values;
    }
937668
public function get($key, $default = null)
    {
        $key = strtolower($key);

        if (!array_key_exists($key, $this->data)) {
            if (null === $default) {
                return null;
            }

            return $default;
        }

        return $this->data[$key];
    }
1175441
public function getString(string $key, string $default = null) : string
    {
        return (string) $this->get($key, $default);
    }
1147435
public function get($key, $default = null)
    {
        if ($this->has($key)) {
            return $this->cache->get($key);
        }

        return $default;
    }
921072
public function get($key, $default = null)
    {
        $resource = $this->getAll();

        $keys = explode('.', $key);
        foreach ($keys as $key) {
            if (!isset($resource[$key])) {
                $resource = $default;
                break;
            }
            $resource = &$resource[$key];
        }

        return $resource;
    }
1340099
public function get($key, $default = null)
    {
        $value = $this->{$this->adapter}->get($this->keyPrefix . $key);
        return $value ? $value : $default;
    }
1203398
public function get($key, $default = null)
    {
        $value  = $this->raw($key, $default);
        $escape = $this->escape;
        return $escape($value);
    }
1113007
public function retrieve($key, $default = '')
    {
        $retriever = $this->getService('retriever');
        if($retriever->has($key)){
            return $retriever->get($key);
        }
        return $default;
    }
567413
public function get($key, $default = null) {

        $stmt = $this->connection->query("SELECT * FROM ".$this->table." WHERE `key`='{$key}';");
        $res  = $stmt->fetch(\PDO::FETCH_ASSOC);

        return  isset($res["key"]) ? json_decode($res["keyval"], true) : $default;
    }
58313
public function get(string $key, $default = null)
    {
        if ($this->exists($key)) {
            return $this->parameters[$key];
        }

        return $default;
    }
392485
public function get($key, $default = null)
    {
        if (false === $this->getIsWorking()) {
            return $default;
        }
        $id = $this->buildKey($key);
        $value = $this->getValue($id);
        if (null === $value) {
            return $default;
        }
        return $this->decodeSaveValue($value);
    }
571911
public function getOriginal($key = null, $default = null)
    {
        $this->bootOnce();

        if (!$key) {
            return $this->_originalAttributes;
        }

        if (array_key_exists($key, $this->_originalAttributes)) {
            return $this->_originalAttributes[$key];
        }

        return $default;

    }
681323
public function get($key, $default = null)
    {
        $value = Arr::get($_COOKIE, $key);

        if ($value === null) {
            return $default;
        }

        return $this->defaults['encrypt']
            ? $this->getEncryption()->decryptBase64($value)
            : $value;
    }