class ServerParams extends ServerParams

Methods

__construct(RequestStack $requestStack = null)

No description

bool
hasPostMaxSizeBeenExceeded()

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

int|null
getPostMaxSize()

Returns maximum post size in bytes.

string
getNormalizedIniPostMaxSize()

Returns the normalized "post_max_size" ini setting.

mixed
getContentLength()

Returns the content length of the request.

Details

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

Parameters

RequestStack $requestStack

in ServerParams at line 33
bool hasPostMaxSizeBeenExceeded()

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

Return Value

bool

in ServerParams at line 46
int|null getPostMaxSize()

Returns maximum post size in bytes.

Return Value

int|null The maximum post size in bytes

in ServerParams at line 81
string getNormalizedIniPostMaxSize()

Returns the normalized "post_max_size" ini setting.

Return Value

string

in ServerParams at line 91
mixed getContentLength()

Returns the content length of the request.

Return Value

mixed The request content length