class ServerParams
__construct(RequestStack $requestStack = null) | ||
bool | hasPostMaxSizeBeenExceeded() Returns true if the POST max size has been exceeded in the request. | |
null|int | getPostMaxSize() Returns maximum post size in bytes. | |
string | getNormalizedIniPostMaxSize() Returns the normalized "postmaxsize" ini setting. | |
mixed | getContentLength() Returns the content length of the request. |
RequestStack | $requestStack |
Returns true if the POST max size has been exceeded in the request.
bool |
Returns maximum post size in bytes.
null|int | The maximum post size in bytes |
Returns the normalized "postmaxsize" ini setting.
string |
Returns the content length of the request.
mixed | The request content length |
© 2004–2017 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/4.0/Symfony/Component/Form/Util/ServerParams.html