Clones the current Response instance.
File
- drupal/core/vendor/symfony/http-foundation/Symfony/Component/HttpFoundation/Response.php, line 190
Class
- Response
- Response represents an HTTP response.
Namespace
Symfony\Component\HttpFoundation
Code
public function __clone() {
$this->headers = clone $this->headers;
}