You are here

public function UnexpectedCallsCountException::__construct in Zircon Profile 8

Same name and namespace in other branches
  1. 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

UnexpectedCallsCountException

Namespace

Prophecy\Exception\Prediction

Code

public function __construct($message, MethodProphecy $methodProphecy, $count, array $calls) {
  parent::__construct($message, $methodProphecy, $calls);
  $this->expectedCount = intval($count);
}