class MethodProphecyException
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
Expanded class hierarchy of MethodProphecyException
5 files declare their use of MethodProphecyException
- CallCenter.php in vendor/
phpspec/ prophecy/ src/ Prophecy/ Call/ CallCenter.php - MethodProphecy.php in vendor/
phpspec/ prophecy/ src/ Prophecy/ Prophecy/ MethodProphecy.php - NoCallsException.php in vendor/
phpspec/ prophecy/ src/ Prophecy/ Exception/ Prediction/ NoCallsException.php - ObjectProphecy.php in vendor/
phpspec/ prophecy/ src/ Prophecy/ Prophecy/ ObjectProphecy.php - UnexpectedCallsException.php in vendor/
phpspec/ prophecy/ src/ Prophecy/ Exception/ Prediction/ UnexpectedCallsException.php
File
-
vendor/
phpspec/ prophecy/ src/ Prophecy/ Exception/ Prophecy/ MethodProphecyException.php, line 16
Namespace
Prophecy\Exception\ProphecyView source
class MethodProphecyException extends ObjectProphecyException {
private $methodProphecy;
/**
* @param string $message
*/
public function __construct($message, MethodProphecy $methodProphecy) {
parent::__construct($message, $methodProphecy->getObjectProphecy());
$this->methodProphecy = $methodProphecy;
}
/**
* @return MethodProphecy
*/
public function getMethodProphecy() {
return $this->methodProphecy;
}
}
Members
Title Sort descending | Modifiers | Object type | Summary | Overriden Title | Overrides |
---|---|---|---|---|---|
MethodProphecyException::$methodProphecy | private | property | |||
MethodProphecyException::getMethodProphecy | public | function | |||
MethodProphecyException::__construct | public | function | Overrides ObjectProphecyException::__construct | 1 | |
ObjectProphecyException::$objectProphecy | private | property | |||
ObjectProphecyException::getObjectProphecy | public | function |