You are here

public function HttpExceptionInterface::getStatusCode in Zircon Profile 8

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

Returns the status code.

Return value

int An HTTP response status code

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

File

vendor/symfony/http-kernel/Exception/HttpExceptionInterface.php, line 26

Class

HttpExceptionInterface
Interface for HTTP error exceptions.

Namespace

Symfony\Component\HttpKernel\Exception

Code

public function getStatusCode();