public function HttpException::getStatusCode

Returns the status code.

Return value

integer An HTTP response status code

Overrides HttpExceptionInterface::getStatusCode

File

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

Class

HttpException
HttpException.

Namespace

Symfony\Component\HttpKernel\Exception

Code

public function getStatusCode() {
  return $this->statusCode;
}