class UnexpectedCallsCountException 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
Hierarchy
- class \Prophecy\Exception\Prophecy\ObjectProphecyException extends \Prophecy\Exception\Prophecy\RuntimeException implements ProphecyException
- class \Prophecy\Exception\Prophecy\MethodProphecyException
- class \Prophecy\Exception\Prediction\UnexpectedCallsException implements PredictionException
- class \Prophecy\Exception\Prediction\UnexpectedCallsCountException
- class \Prophecy\Exception\Prediction\UnexpectedCallsException implements PredictionException
- class \Prophecy\Exception\Prophecy\MethodProphecyException
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\PredictionView 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
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
Exception:: |
public | function | ||
MethodProphecyException:: |
private | property | ||
MethodProphecyException:: |
public | function | ||
ObjectProphecyException:: |
private | property | ||
ObjectProphecyException:: |
public | function | ||
UnexpectedCallsCountException:: |
private | property | ||
UnexpectedCallsCountException:: |
public | function | ||
UnexpectedCallsCountException:: |
public | function |
Overrides UnexpectedCallsException:: |
|
UnexpectedCallsException:: |
private | property | ||
UnexpectedCallsException:: |
public | function |