ServerParams
in package
Tags
Table of Contents
- $requestStack : mixed
- __construct() : mixed
- getContentLength() : mixed
- Returns the content length of the request.
- getNormalizedIniPostMaxSize() : string
- Returns the normalized "post_max_size" ini setting.
- getPostMaxSize() : int|null
- Returns maximum post size in bytes.
- hasPostMaxSizeBeenExceeded() : bool
- Returns true if the POST max size has been exceeded in the request.
Properties
$requestStack
private
mixed
$requestStack
Methods
__construct()
public
__construct([RequestStack $requestStack = null ]) : mixed
Parameters
- $requestStack : RequestStack = null
Return values
mixed —getContentLength()
Returns the content length of the request.
public
getContentLength() : mixed
Return values
mixed —The request content length
getNormalizedIniPostMaxSize()
Returns the normalized "post_max_size" ini setting.
public
getNormalizedIniPostMaxSize() : string
Return values
string —getPostMaxSize()
Returns maximum post size in bytes.
public
getPostMaxSize() : int|null
Return values
int|null —The maximum post size in bytes
hasPostMaxSizeBeenExceeded()
Returns true if the POST max size has been exceeded in the request.
public
hasPostMaxSizeBeenExceeded() : bool