You are here

public function PHPUnit_Framework_MockObject_Matcher_InvokedAtLeastCount::__construct in Zircon Profile 8

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

Parameters

int $requiredInvocations:

File

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

Class

PHPUnit_Framework_MockObject_Matcher_InvokedAtLeastCount
Invocation matcher which checks if a method has been invoked at least N times.

Code

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