class MethodProphecyException in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/phpspec/prophecy/src/Prophecy/Exception/Prophecy/MethodProphecyException.php \Prophecy\Exception\Prophecy\MethodProphecyException
Hierarchy
- class \Prophecy\Exception\Prophecy\ObjectProphecyException extends \Prophecy\Exception\Prophecy\RuntimeException implements ProphecyException
- class \Prophecy\Exception\Prophecy\MethodProphecyException
Expanded class hierarchy of MethodProphecyException
4 files declare their use of MethodProphecyException
- 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;
public function __construct($message, MethodProphecy $methodProphecy) {
parent::__construct($message, $methodProphecy
->getObjectProphecy());
$this->methodProphecy = $methodProphecy;
}
/**
* @return MethodProphecy
*/
public function getMethodProphecy() {
return $this->methodProphecy;
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
Exception:: |
public | function | ||
MethodProphecyException:: |
private | property | ||
MethodProphecyException:: |
public | function | ||
MethodProphecyException:: |
public | function |
Overrides ObjectProphecyException:: |
1 |
ObjectProphecyException:: |
private | property | ||
ObjectProphecyException:: |
public | function |