Security/Firewall/LdapFormLoginListener.php
protected function getParameterFromBag($bag, $param)
    {
        if (!$this->useParameterBagUtils()) {
            return $bag->get($param, null, true);
        }

        return ParameterBagUtils::getParameterBagValue($bag, $param);
    }
protected function getParameterFromBag($bag, $param)
    {
        if (!$this->useParameterBagUtils()) {
            return $bag->get($param, null, true);
        }

        return ParameterBagUtils::getParameterBagValue($bag, $param);
    }
Provide a BC wrapper for deep item finding deprecation.

@param ParameterBag $bag
@param string $param
@return mixed