You are here

class ClassMirrorException in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/phpspec/prophecy/src/Prophecy/Exception/Doubler/ClassMirrorException.php \Prophecy\Exception\Doubler\ClassMirrorException

Hierarchy

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\Doubler
View source
class ClassMirrorException extends \RuntimeException implements DoublerException {
  private $class;
  public function __construct($message, ReflectionClass $class) {
    parent::__construct($message);
    $this->class = $class;
  }
  public function getReflectedClass() {
    return $this->class;
  }

}

Members