Validator\Util\ServerParams (Component\Form\Extension)
Symfony\Component\Form\Extension\Validator\Util\ServerParams
class ServerParams extends ServerParams
Methods
__construct(RequestStack $requestStack = null) | from ServerParams | |
null|int | getPostMaxSize() Returns maximum post size in bytes. | from ServerParams |
string | getNormalizedIniPostMaxSize() Returns the normalized "postmaxsize" ini setting. | from ServerParams |
mixed | getContentLength() Returns the content length of the request. | from ServerParams |
Details
public __construct(RequestStack $requestStack = null)
public null|int getPostMaxSize()
Returns maximum post size in bytes.
public string getNormalizedIniPostMaxSize()
Returns the normalized "postmaxsize" ini setting.
public mixed getContentLength()
Returns the content length of the request.
© 2004–2016 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/3.0/Symfony/Component/Form/Extension/Validator/Util/ServerParams.html