[HttpFoundation] tweaked previous merge

This commit is contained in:
Fabien Potencier 2013-02-15 08:36:52 +01:00
parent d0e964a1ae
commit 5276a096a6
2 changed files with 4 additions and 3 deletions

View File

@ -10,7 +10,8 @@ CHANGELOG
* [BC BREAK] JsonResponse does not turn a top level empty array to an object anymore, use an ArrayObject to enforce objects
* added a IpUtils class to check if an IP belongs to a CIDR
* added Request::getRealMethod() to get the "real" HTTP method (getMethod() returns the "intended" HTTP method)
* disabled _method request parameter support by default (call Request::enableHttpMethodParameterOverride() to enable it)
* disabled _method request parameter support by default (call Request::enableHttpMethodParameterOverride() to
enable it, and Request::getHttpMethodParameterOverride() to check if it is supported)
* Request::splitHttpAcceptHeader() method is deprecated and will be removed in 2.3
* Deprecated Flashbag::count() and \Countable interface, will be removed in 2.3

View File

@ -595,9 +595,9 @@ class Request
}
/**
* Get the state of httpMethodParameterOverride value.
* Checks whether support for the _method request parameter is enabled.
*
* @return Boolean
* @return Boolean True when the _method request parameter is enabled, false otherwise
*/
public static function getHttpMethodParameterOverride()
{