You are here

public function HttpException::getStatusCode in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/http-kernel/Exception/HttpException.php \Symfony\Component\HttpKernel\Exception\HttpException::getStatusCode()

Returns the status code.

Return value

int An HTTP response status code

Overrides HttpExceptionInterface::getStatusCode

File

vendor/symfony/http-kernel/Exception/HttpException.php, line 32

Class

HttpException
HttpException.

Namespace

Symfony\Component\HttpKernel\Exception

Code

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