You are here

public function Response::getStatusCode in RESTful 7.2

Retrieves the status code for the current web response.

Return value

int Status code

Overrides ResponseInterface::getStatusCode

1 call to Response::getStatusCode()
Response::sendHeaders in src/Http/Response.php
Sends HTTP headers.

File

src/Http/Response.php, line 335
Contains \Drupal\restful\Http\Response.

Class

Response

Namespace

Drupal\restful\Http

Code

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