Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. ClassMirrorException.php

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\Doubler
View 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

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal