You are here

public function UnexpectedCallsException::__construct in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/phpspec/prophecy/src/Prophecy/Exception/Prediction/UnexpectedCallsException.php \Prophecy\Exception\Prediction\UnexpectedCallsException::__construct()

Overrides MethodProphecyException::__construct

1 call to UnexpectedCallsException::__construct()
UnexpectedCallsCountException::__construct in vendor/phpspec/prophecy/src/Prophecy/Exception/Prediction/UnexpectedCallsCountException.php
1 method overrides UnexpectedCallsException::__construct()
UnexpectedCallsCountException::__construct in vendor/phpspec/prophecy/src/Prophecy/Exception/Prediction/UnexpectedCallsCountException.php

File

vendor/phpspec/prophecy/src/Prophecy/Exception/Prediction/UnexpectedCallsException.php, line 21

Class

UnexpectedCallsException

Namespace

Prophecy\Exception\Prediction

Code

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