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