ServerParams
in package
Tags
Table of Contents
Properties
- $requestStack : mixed
Methods
- __construct() : mixed
- getContentLength() : mixed
- Returns the content length of the request.
- getNormalizedIniPostMaxSize() : string
- Returns the normalized "post_max_size" ini setting.
- getPostMaxSize() : int|float|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
getContentLength()
Returns the content length of the request.
public
getContentLength() : mixed
getNormalizedIniPostMaxSize()
Returns the normalized "post_max_size" ini setting.
public
getNormalizedIniPostMaxSize() : string
Return values
stringgetPostMaxSize()
Returns maximum post size in bytes.
public
getPostMaxSize() : int|float|null
Return values
int|float|nullhasPostMaxSizeBeenExceeded()
Returns true if the POST max size has been exceeded in the request.
public
hasPostMaxSizeBeenExceeded() : bool