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

        return ParameterBagUtils::getRequestParameterValue($request, $param);
    }
protected function getParameterFromRequest(Request $request, $param)
    {
        if (!$this->useParameterBagUtils()) {
            return $request->get($param, null, true);
        }

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

@param Request $request
@param string $param
@return mixed