public function PHPUnit_Framework_MockObject_MockBuilder::disableOriginalConstructor in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/phpunit/phpunit-mock-objects/src/Framework/MockObject/MockBuilder.php \PHPUnit_Framework_MockObject_MockBuilder::disableOriginalConstructor()
Disables the invocation of the original constructor.
Return value
PHPUnit_Framework_MockObject_MockBuilder
File
- vendor/
phpunit/ phpunit-mock-objects/ src/ Framework/ MockObject/ MockBuilder.php, line 186
Class
- PHPUnit_Framework_MockObject_MockBuilder
- Implementation of the Builder pattern for Mock objects.
Code
public function disableOriginalConstructor() {
$this->originalConstructor = false;
return $this;
}