public function HttpException::__construct in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/http-kernel/Exception/HttpException.php \Symfony\Component\HttpKernel\Exception\HttpException::__construct()
15 calls to HttpException::__construct()
- AccessDeniedHttpException::__construct in vendor/
symfony/ http-kernel/ Exception/ AccessDeniedHttpException.php - Constructor.
- BadRequestHttpException::__construct in vendor/
symfony/ http-kernel/ Exception/ BadRequestHttpException.php - Constructor.
- ConflictHttpException::__construct in vendor/
symfony/ http-kernel/ Exception/ ConflictHttpException.php - Constructor.
- GoneHttpException::__construct in vendor/
symfony/ http-kernel/ Exception/ GoneHttpException.php - Constructor.
- LengthRequiredHttpException::__construct in vendor/
symfony/ http-kernel/ Exception/ LengthRequiredHttpException.php - Constructor.
15 methods override HttpException::__construct()
- AccessDeniedHttpException::__construct in vendor/
symfony/ http-kernel/ Exception/ AccessDeniedHttpException.php - Constructor.
- BadRequestHttpException::__construct in vendor/
symfony/ http-kernel/ Exception/ BadRequestHttpException.php - Constructor.
- ConflictHttpException::__construct in vendor/
symfony/ http-kernel/ Exception/ ConflictHttpException.php - Constructor.
- GoneHttpException::__construct in vendor/
symfony/ http-kernel/ Exception/ GoneHttpException.php - Constructor.
- LengthRequiredHttpException::__construct in vendor/
symfony/ http-kernel/ Exception/ LengthRequiredHttpException.php - Constructor.
File
- vendor/
symfony/ http-kernel/ Exception/ HttpException.php, line 24
Class
- HttpException
- HttpException.
Namespace
Symfony\Component\HttpKernel\ExceptionCode
public function __construct($statusCode, $message = null, \Exception $previous = null, array $headers = array(), $code = 0) {
$this->statusCode = $statusCode;
$this->headers = $headers;
parent::__construct($message, $code, $previous);
}