public function UnexpectedCallsCountException::__construct in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/phpspec/prophecy/src/Prophecy/Exception/Prediction/UnexpectedCallsCountException.php \Prophecy\Exception\Prediction\UnexpectedCallsCountException::__construct()
Overrides UnexpectedCallsException::__construct
File
- vendor/
phpspec/ prophecy/ src/ Prophecy/ Exception/ Prediction/ UnexpectedCallsCountException.php, line 20
Class
Namespace
Prophecy\Exception\PredictionCode
public function __construct($message, MethodProphecy $methodProphecy, $count, array $calls) {
parent::__construct($message, $methodProphecy, $calls);
$this->expectedCount = intval($count);
}