You are here

public function Uri::__clone in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/zendframework/zend-diactoros/src/Uri.php \Zend\Diactoros\Uri::__clone()

Operations to perform on clone.

Since cloning usually is for purposes of mutation, we reset the $uriString property so it will be re-calculated.

File

vendor/zendframework/zend-diactoros/src/Uri.php, line 114

Class

Uri
Implementation of Psr\Http\UriInterface.

Namespace

Zend\Diactoros

Code

public function __clone() {
  $this->uriString = null;
}