public function Response::isEmpty in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/http-foundation/Response.php \Symfony\Component\HttpFoundation\Response::isEmpty()
Is the response empty?
Return value
bool
1 call to Response::isEmpty()
- Response::prepare in vendor/
symfony/ http-foundation/ Response.php - Prepares the Response before it is sent to the client.
File
- vendor/
symfony/ http-foundation/ Response.php, line 1130
Class
- Response
- Response represents an HTTP response.
Namespace
Symfony\Component\HttpFoundationCode
public function isEmpty() {
return in_array($this->statusCode, array(
204,
304,
));
}