You are here

public function PHPUnit_Framework_MockObject_MockBuilder::enableProxyingToOriginalMethods in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/phpunit/phpunit-mock-objects/src/Framework/MockObject/MockBuilder.php \PHPUnit_Framework_MockObject_MockBuilder::enableProxyingToOriginalMethods()

Enables the invocation of the original methods.

@since Method available since Release 2.0.0

Return value

PHPUnit_Framework_MockObject_MockBuilder

File

vendor/phpunit/phpunit-mock-objects/src/Framework/MockObject/MockBuilder.php, line 288

Class

PHPUnit_Framework_MockObject_MockBuilder
Implementation of the Builder pattern for Mock objects.

Code

public function enableProxyingToOriginalMethods() {
  $this->callOriginalMethods = true;
  return $this;
}