BadRequestHttpException

class BadRequestHttpException extends HttpException

BadRequestHttpException.

Methods

__construct($message = null, Exception $previous = null, $code)

Constructor.

int getStatusCode()

Returns the status code.

from HttpException
array getHeaders()

Returns response headers.

from HttpException

Details

__construct($message = null, Exception $previous = null, $code)

Constructor.

Parameters

$message
Exception $previous
$code

int getStatusCode()

Returns the status code.

Return Value

int An HTTP response status code

array getHeaders()

Returns response headers.

Return Value

array Response headers
doc_Symfony
2016-10-28 06:06:38
Comments
Leave a Comment

Please login to continue.