class ClassMirrorException
Hierarchy
- class \Prophecy\Exception\Doubler\ClassMirrorException extends \Prophecy\Exception\Doubler\RuntimeException implements \Prophecy\Exception\Doubler\DoublerException
Expanded class hierarchy of ClassMirrorException
1 file declares its use of ClassMirrorException
- ClassMirror.php in vendor/
phpspec/ prophecy/ src/ Prophecy/ Doubler/ Generator/ ClassMirror.php
File
-
vendor/
phpspec/ prophecy/ src/ Prophecy/ Exception/ Doubler/ ClassMirrorException.php, line 16
Namespace
Prophecy\Exception\DoublerView source
class ClassMirrorException extends \RuntimeException implements DoublerException {
private $class;
/**
* @param string $message
* @param ReflectionClass<object> $class
*/
public function __construct($message, ReflectionClass $class) {
parent::__construct($message);
$this->class = $class;
}
/**
* @return ReflectionClass<object>
*/
public function getReflectedClass() {
return $this->class;
}
}
Members
Title Sort descending | Modifiers | Object type | Summary |
---|---|---|---|
ClassMirrorException::$class | private | property | |
ClassMirrorException::getReflectedClass | public | function | |
ClassMirrorException::__construct | public | function |