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

Breadcrumb

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

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\Doubler
View 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
RSS feed
Powered by Drupal