You are here

public function PHPUnit_Framework_MockObject_Matcher::__construct in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/phpunit/phpunit-mock-objects/src/Framework/MockObject/Matcher.php \PHPUnit_Framework_MockObject_Matcher::__construct()

Parameters

PHPUnit_Framework_MockObject_Matcher_Invocation $invocationMatcher:

File

vendor/phpunit/phpunit-mock-objects/src/Framework/MockObject/Matcher.php, line 57

Class

PHPUnit_Framework_MockObject_Matcher
Main matcher which defines a full expectation using method, parameter and invocation matchers. This matcher encapsulates all the other matchers and allows the builder to set the specific matchers when the appropriate methods are called…

Code

public function __construct(PHPUnit_Framework_MockObject_Matcher_Invocation $invocationMatcher) {
  $this->invocationMatcher = $invocationMatcher;
}