function FalseContentResponse::getContent

Same name in other branches
  1. 11.x core/tests/Drupal/Tests/Core/StackMiddleware/ContentLengthTest.php \Drupal\Tests\Core\StackMiddleware\FalseContentResponse::getContent()

File

core/tests/Drupal/Tests/Core/StackMiddleware/ContentLengthTest.php, line 89

Class

FalseContentResponse
Response that returns FALSE from ::getContent().

Namespace

Drupal\Tests\Core\StackMiddleware

Code

public function getContent() : string|false {
    return FALSE;
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.