public function PHPUnit_Framework_MockObject_InvocationMocker::hasMatchers in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/phpunit/phpunit-mock-objects/src/Framework/MockObject/InvocationMocker.php \PHPUnit_Framework_MockObject_InvocationMocker::hasMatchers()
@since Method available since Release 1.1.0
File
- vendor/
phpunit/ phpunit-mock-objects/ src/ Framework/ MockObject/ InvocationMocker.php, line 43
Class
- PHPUnit_Framework_MockObject_InvocationMocker
- Mocker for invocations which are sent from PHPUnit_Framework_MockObject_MockObject objects.
Code
public function hasMatchers() {
foreach ($this->matchers as $matcher) {
if ($matcher
->hasMatchers()) {
return true;
}
}
return false;
}