protected function Response::isEmpty in RESTful 7.2
Is the response empty?
Return value
bool
1 call to Response::isEmpty()
- Response::prepare in src/
Http/ Response.php - Prepares the Response before it is sent to the client.
File
- src/
Http/ Response.php, line 175 - Contains \Drupal\restful\Http\Response.
Class
Namespace
Drupal\restful\HttpCode
protected function isEmpty() {
return in_array($this->statusCode, array(
204,
304,
));
}