function EnforcedResponse::getResponse

Same name in other branches
  1. 9 core/lib/Drupal/Core/Form/EnforcedResponse.php \Drupal\Core\Form\EnforcedResponse::getResponse()
  2. 8.9.x core/lib/Drupal/Core/Form/EnforcedResponse.php \Drupal\Core\Form\EnforcedResponse::getResponse()
  3. 11.x core/lib/Drupal/Core/Form/EnforcedResponse.php \Drupal\Core\Form\EnforcedResponse::getResponse()

Returns the wrapped response.

Return value

\Symfony\Component\HttpFoundation\Response The wrapped response.

File

core/lib/Drupal/Core/Form/EnforcedResponse.php, line 73

Class

EnforcedResponse
A wrapper containing a response which is to be enforced upon delivery.

Namespace

Drupal\Core\Form

Code

public function getResponse() {
    return $this->response;
}

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