You are here

public function PHPUnit_Framework_MockObject_Matcher_Parameters::matches in Zircon Profile 8

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

Parameters

PHPUnit_Framework_MockObject_Invocation $invocation:

Return value

bool

Overrides PHPUnit_Framework_MockObject_Matcher_Invocation::matches

File

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

Class

PHPUnit_Framework_MockObject_Matcher_Parameters
Invocation matcher which looks for specific parameters in the invocations.

Code

public function matches(PHPUnit_Framework_MockObject_Invocation $invocation) {
  $this->invocation = $invocation;
  return $this
    ->verify();
}