PostTooLargeException
extends HttpException
in package
HttpException.
Table of Contents
- $headers : mixed
- $statusCode : mixed
- __construct() : void
- PostTooLargeException constructor.
- getHeaders() : array<string|int, mixed>
- Returns response headers.
- getStatusCode() : int
- Returns the status code.
- setHeaders() : mixed
- Set response headers.
Properties
$headers
private
mixed
$headers
$statusCode
private
mixed
$statusCode
Methods
__construct()
PostTooLargeException constructor.
public
__construct([string|null $message = null ][, Exception|null $previous = null ][, array<string|int, mixed> $headers = [] ], int $code) : void
Parameters
- $message : string|null = null
- $previous : Exception|null = null
- $headers : array<string|int, mixed> = []
- $code : int
Return values
void —getHeaders()
Returns response headers.
public
getHeaders() : array<string|int, mixed>
Return values
array<string|int, mixed> —Response headers
getStatusCode()
Returns the status code.
public
getStatusCode() : int
Return values
int —An HTTP response status code
setHeaders()
Set response headers.
public
setHeaders(array<string|int, mixed> $headers) : mixed
Parameters
- $headers : array<string|int, mixed>
-
Response headers