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/http-foundation/Response.php \Symfony\Component\HttpFoundation\Response::getStatusCode()

Retrieves the status code for the current web response.

Return value

int Status code

File

vendor/symfony/http-foundation/Response.php, line 479

Class

Response
Response represents an HTTP response.

Namespace

Symfony\Component\HttpFoundation

Code

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