Documentation

InternalServerErrorHttpException extends HttpException
in package

Table of Contents

$headers  : array<string|int, mixed>
$statusCode  : int
__construct()  : mixed
getHeaders()  : array<string|int, mixed>
getStatusCode()  : int
setHeaders()  : mixed

Properties

Methods

__construct()

public __construct([mixed $message = 'Internal Server Error' ][, array<string|int, mixed> $headers = [] ][, mixed $code = E_ERROR ][, Throwable $previous = null ]) : mixed
Parameters
$message : mixed = 'Internal Server Error'
$headers : array<string|int, mixed> = []
$code : mixed = E_ERROR
$previous : Throwable = null
Return values
mixed

getHeaders()

public getHeaders() : array<string|int, mixed>
Return values
array<string|int, mixed>

getStatusCode()

public getStatusCode() : int
Return values
int

setHeaders()

public setHeaders(array<string|int, mixed> $headers) : mixed
Parameters
$headers : array<string|int, mixed>
Return values
mixed

Search results