class FalseContentResponse
Same name in other branches
- 11.x core/tests/Drupal/Tests/Core/StackMiddleware/ContentLengthTest.php \Drupal\Tests\Core\StackMiddleware\FalseContentResponse
Response that returns FALSE from ::getContent().
Hierarchy
- class \Drupal\Tests\Core\StackMiddleware\FalseContentResponse extends \Symfony\Component\HttpFoundation\Response
Expanded class hierarchy of FalseContentResponse
File
-
core/
tests/ Drupal/ Tests/ Core/ StackMiddleware/ ContentLengthTest.php, line 84
Namespace
Drupal\Tests\Core\StackMiddlewareView source
class FalseContentResponse extends Response {
/**
* {@inheritdoc}
*/
public function getContent() : string|false {
return FALSE;
}
}
Members
Title Sort descending | Modifiers | Object type | Summary |
---|---|---|---|
FalseContentResponse::getContent | public | function |
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.