You are here

public function PHPUnit_Framework_MockObject_Matcher_AnyParameters::matches in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/phpunit/phpunit-mock-objects/src/Framework/MockObject/Matcher/AnyParameters.php \PHPUnit_Framework_MockObject_Matcher_AnyParameters::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/AnyParameters.php, line 30

Class

PHPUnit_Framework_MockObject_Matcher_AnyParameters
Invocation matcher which allows any parameters to a method.

Code

public function matches(PHPUnit_Framework_MockObject_Invocation $invocation) {
  return true;
}