class ClassCreatorException
Hierarchy
- class \Prophecy\Exception\Doubler\ClassCreatorException extends \Prophecy\Exception\Doubler\RuntimeException implements \Prophecy\Exception\Doubler\DoublerException
Expanded class hierarchy of ClassCreatorException
2 files declare their use of ClassCreatorException
- ClassCreator.php in vendor/
phpspec/ prophecy/ src/ Prophecy/ Doubler/ Generator/ ClassCreator.php - ThrowablePatch.php in vendor/
phpspec/ prophecy/ src/ Prophecy/ Doubler/ ClassPatch/ ThrowablePatch.php
File
-
vendor/
phpspec/ prophecy/ src/ Prophecy/ Exception/ Doubler/ ClassCreatorException.php, line 16
Namespace
Prophecy\Exception\DoublerView source
class ClassCreatorException extends \RuntimeException implements DoublerException {
private $node;
/**
* @param string $message
* @param ClassNode $node
*/
public function __construct($message, ClassNode $node) {
parent::__construct($message);
$this->node = $node;
}
/**
* @return ClassNode
*/
public function getClassNode() {
return $this->node;
}
}
Members
Title Sort descending | Modifiers | Object type | Summary |
---|---|---|---|
ClassCreatorException::$node | private | property | |
ClassCreatorException::getClassNode | public | function | |
ClassCreatorException::__construct | public | function |