public function PHPUnit_Framework_MockObject_Matcher_Invocation::matches in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/phpunit/phpunit-mock-objects/src/Framework/MockObject/Matcher/Invocation.php \PHPUnit_Framework_MockObject_Matcher_Invocation::matches()
Checks if the invocation $invocation matches the current rules. If it does the matcher will get the invoked() method called which should check if an expectation is met.
Parameters
PHPUnit_Framework_MockObject_Invocation $invocation: Object containing information on a mocked or stubbed method which was invoked.
Return value
bool
7 methods override PHPUnit_Framework_MockObject_Matcher_Invocation::matches()
- PHPUnit_Framework_MockObject_Matcher::matches in vendor/
phpunit/ phpunit-mock-objects/ src/ Framework/ MockObject/ Matcher.php - PHPUnit_Framework_MockObject_Matcher_AnyParameters::matches in vendor/
phpunit/ phpunit-mock-objects/ src/ Framework/ MockObject/ Matcher/ AnyParameters.php - PHPUnit_Framework_MockObject_Matcher_ConsecutiveParameters::matches in vendor/
phpunit/ phpunit-mock-objects/ src/ Framework/ MockObject/ Matcher/ ConsecutiveParameters.php - PHPUnit_Framework_MockObject_Matcher_InvokedAtIndex::matches in vendor/
phpunit/ phpunit-mock-objects/ src/ Framework/ MockObject/ Matcher/ InvokedAtIndex.php - PHPUnit_Framework_MockObject_Matcher_InvokedRecorder::matches in vendor/
phpunit/ phpunit-mock-objects/ src/ Framework/ MockObject/ Matcher/ InvokedRecorder.php
File
- vendor/
phpunit/ phpunit-mock-objects/ src/ Framework/ MockObject/ Matcher/ Invocation.php, line 47
Class
- PHPUnit_Framework_MockObject_Matcher_Invocation
- Interface for classes which matches an invocation based on its method name, argument, order or call count.
Code
public function matches(PHPUnit_Framework_MockObject_Invocation $invocation);