class ServerParams

Methods

__construct(RequestStack $requestStack = null)

No description

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

at line line 23
__construct(RequestStack $requestStack = null)

Parameters

RequestStack $requestStack

at line line 33
null|int getPostMaxSize()

Returns maximum post size in bytes.

Return Value

null|int The maximum post size in bytes

at line line 65
string getNormalizedIniPostMaxSize()

Returns the normalized "postmaxsize" ini setting.

Return Value

string

at line line 75
mixed getContentLength()

Returns the content length of the request.

Return Value

mixed The request content length.