ServerParams

class ServerParams

Methods

__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.

Details

__construct(RequestStack $requestStack = null)

Parameters

RequestStack $requestStack

bool hasPostMaxSizeBeenExceeded()

Returns true if the POST max size has been exceeded in the request.

Return Value

bool

null|int getPostMaxSize()

Returns maximum post size in bytes.

Return Value

null|int The maximum post size in bytes

string getNormalizedIniPostMaxSize()

Returns the normalized "postmaxsize" ini setting.

Return Value

string

mixed getContentLength()

Returns the content length of the request.

Return Value

mixed The request content length
doc_Symfony
2016-10-28 06:31:55
Comments
Leave a Comment

Please login to continue.