You are here

class UnexpectedCallsCountException 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

Hierarchy

Expanded class hierarchy of UnexpectedCallsCountException

1 file declares its use of UnexpectedCallsCountException
CallTimesPrediction.php in vendor/phpspec/prophecy/src/Prophecy/Prediction/CallTimesPrediction.php

File

vendor/phpspec/prophecy/src/Prophecy/Exception/Prediction/UnexpectedCallsCountException.php, line 16

Namespace

Prophecy\Exception\Prediction
View source
class UnexpectedCallsCountException extends UnexpectedCallsException {
  private $expectedCount;
  public function __construct($message, MethodProphecy $methodProphecy, $count, array $calls) {
    parent::__construct($message, $methodProphecy, $calls);
    $this->expectedCount = intval($count);
  }
  public function getExpectedCount() {
    return $this->expectedCount;
  }

}

Members