You are here

public function Response::getStatusCode in Zircon Profile 8

Same name in this branch
  1. 8 vendor/symfony/http-foundation/Response.php \Symfony\Component\HttpFoundation\Response::getStatusCode()
  2. 8 vendor/zendframework/zend-diactoros/src/Response.php \Zend\Diactoros\Response::getStatusCode()
  3. 8 vendor/guzzlehttp/psr7/src/Response.php \GuzzleHttp\Psr7\Response::getStatusCode()
  4. 8 vendor/symfony/psr-http-message-bridge/Tests/Fixtures/Response.php \Symfony\Bridge\PsrHttpMessage\Tests\Fixtures\Response::getStatusCode()
Same name and namespace in other branches
  1. 8.0 vendor/symfony/psr-http-message-bridge/Tests/Fixtures/Response.php \Symfony\Bridge\PsrHttpMessage\Tests\Fixtures\Response::getStatusCode()

Gets the response status code.

The status code is a 3-digit integer result code of the server's attempt to understand and satisfy the request.

Return value

int Status code.

Overrides ResponseInterface::getStatusCode

File

vendor/symfony/psr-http-message-bridge/Tests/Fixtures/Response.php, line 31

Class

Response
@author Kévin Dunglas <dunglas@gmail.com>

Namespace

Symfony\Bridge\PsrHttpMessage\Tests\Fixtures

Code

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