ConflictHttpException
extends HttpException
in package
HttpException.
Tags
Table of Contents
- $headers : mixed
- $statusCode : mixed
- __construct() : mixed
- 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()
public
__construct([string|null $message = '' ][, Throwable|null $previous = null ], int $code[, array<string|int, mixed> $headers = [] ]) : mixed
Parameters
- $message : string|null = ''
-
The internal exception message
- $previous : Throwable|null = null
-
The previous exception
- $code : int
-
The internal exception code
- $headers : array<string|int, mixed> = []
Return values
mixed —getHeaders()
Returns response headers.
public
getHeaders() : array<string|int, mixed>
Return values
array<string|int, mixed> —getStatusCode()
Returns the status code.
public
getStatusCode() : int
Return values
int —setHeaders()
Set response headers.
public
setHeaders(array<string|int, mixed> $headers) : mixed
Parameters
- $headers : array<string|int, mixed>
-
Response headers