src/ParameterBag.php
public function get($key)
    {
        $key = strtolower($key);

        if (!array_key_exists($key, $this->parameters)) {
            throw new ParameterNotFoundException($key);
        }

        return $this->parameters[$key];
    }
public function get($key)
    {
        $key = strtolower($key);

        if (!array_key_exists($key, $this->parameters)) {
            throw new ParameterNotFoundException($key);
        }

        return $this->parameters[$key];
    }
Get parameter value

@param string $key The parameter key

@return mixed

@throws ParameterNotFoundException