public function HttpExceptionInterface::getStatusCode

Returns the status code.

Return value

integer An HTTP response status code

1 method overrides HttpExceptionInterface::getStatusCode()
HttpException::getStatusCode in drupal/core/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/Exception/HttpException.php
Returns the status code.

File

drupal/core/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/Exception/HttpExceptionInterface.php, line 26

Class

HttpExceptionInterface
Interface for HTTP error exceptions.

Namespace

Symfony\Component\HttpKernel\Exception

Code

public function getStatusCode();