class UnexpectedCallsException
Hierarchy
- class \Prophecy\Exception\Prophecy\ObjectProphecyException extends \Prophecy\Exception\Prophecy\RuntimeException implements \Prophecy\Exception\Prophecy\ProphecyException
- class \Prophecy\Exception\Prophecy\MethodProphecyException extends \Prophecy\Exception\Prophecy\ObjectProphecyException
- class \Prophecy\Exception\Prediction\UnexpectedCallsException extends \Prophecy\Exception\Prophecy\MethodProphecyException implements \Prophecy\Exception\Prediction\PredictionException
- class \Prophecy\Exception\Prophecy\MethodProphecyException extends \Prophecy\Exception\Prophecy\ObjectProphecyException
Expanded class hierarchy of UnexpectedCallsException
1 file declares its use of UnexpectedCallsException
- NoCallsPrediction.php in vendor/
phpspec/ prophecy/ src/ Prophecy/ Prediction/ NoCallsPrediction.php
File
-
vendor/
phpspec/ prophecy/ src/ Prophecy/ Exception/ Prediction/ UnexpectedCallsException.php, line 18
Namespace
Prophecy\Exception\PredictionView source
class UnexpectedCallsException extends MethodProphecyException implements PredictionException {
private $calls = array();
/**
* @param string $message
* @param MethodProphecy $methodProphecy
* @param list<Call> $calls
*/
public function __construct($message, MethodProphecy $methodProphecy, array $calls) {
parent::__construct($message, $methodProphecy);
$this->calls = $calls;
}
/**
* @return list<Call>
*/
public function getCalls() {
return $this->calls;
}
}
Members
Title Sort descending | Modifiers | Object type | Summary | Overriden Title | Overrides |
---|---|---|---|---|---|
MethodProphecyException::$methodProphecy | private | property | |||
MethodProphecyException::getMethodProphecy | public | function | |||
ObjectProphecyException::$objectProphecy | private | property | |||
ObjectProphecyException::getObjectProphecy | public | function | |||
UnexpectedCallsException::$calls | private | property | |||
UnexpectedCallsException::getCalls | public | function | |||
UnexpectedCallsException::__construct | public | function | Overrides MethodProphecyException::__construct | 1 |