You are here

public function Response::__clone in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/http-foundation/Response.php \Symfony\Component\HttpFoundation\Response::__clone()

Clones the current Response instance.

File

vendor/symfony/http-foundation/Response.php, line 247

Class

Response
Response represents an HTTP response.

Namespace

Symfony\Component\HttpFoundation

Code

public function __clone() {
  $this->headers = clone $this->headers;
}