class NotFoundHttpException extends HttpException

Methods

__construct(string $message = null, Exception $previous = null, int|null $code = 0, array $headers = array())

No description

int
getStatusCode()

Returns the status code.

array
getHeaders()

Returns response headers.

setHeaders(array $headers)

Set response headers.

Details

at line 25
__construct(string $message = null, Exception $previous = null, int|null $code = 0, array $headers = array())

Parameters

string $message
Exception $previous
int|null $code
array $headers

in HttpException at line 32
int getStatusCode()

Returns the status code.

Return Value

int An HTTP response status code

in HttpException at line 37
array getHeaders()

Returns response headers.

Return Value

array Response headers

in HttpException at line 47
setHeaders(array $headers)

Set response headers.

Parameters

array $headers Response headers