public function PHPUnit_Framework_MockObject_MockBuilder::enableOriginalClone in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/phpunit/phpunit-mock-objects/src/Framework/MockObject/MockBuilder.php \PHPUnit_Framework_MockObject_MockBuilder::enableOriginalClone()
Enables the invocation of the original clone constructor.
@since Method available since Release 1.2.0
Return value
PHPUnit_Framework_MockObject_MockBuilder
File
- vendor/
phpunit/ phpunit-mock-objects/ src/ Framework/ MockObject/ MockBuilder.php, line 224
Class
- PHPUnit_Framework_MockObject_MockBuilder
- Implementation of the Builder pattern for Mock objects.
Code
public function enableOriginalClone() {
$this->originalClone = true;
return $this;
}