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

Breadcrumb

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

class ClassNotFoundException

Same name in this branch
  1. 11.1.x vendor/symfony/var-exporter/Exception/ClassNotFoundException.php \Symfony\Component\VarExporter\Exception\ClassNotFoundException

Hierarchy

  • class \Prophecy\Exception\Doubler\DoubleException extends \RuntimeException implements \Prophecy\Exception\Doubler\DoublerException
    • class \Prophecy\Exception\Doubler\ClassNotFoundException extends \Prophecy\Exception\Doubler\DoubleException

Expanded class hierarchy of ClassNotFoundException

2 files declare their use of ClassNotFoundException
LazyDouble.php in vendor/phpspec/prophecy/src/Prophecy/Doubler/LazyDouble.php
Prophet.php in vendor/phpspec/prophecy/src/Prophecy/Prophet.php

File

vendor/phpspec/prophecy/src/Prophecy/Exception/Doubler/ClassNotFoundException.php, line 14

Namespace

Prophecy\Exception\Doubler
View source
class ClassNotFoundException extends DoubleException {
    private $classname;
    
    /**
     * @param string $message
     * @param string $classname
     */
    public function __construct($message, $classname) {
        parent::__construct($message);
        $this->classname = $classname;
    }
    
    /**
     * @return string
     */
    public function getClassname() {
        return $this->classname;
    }

}

Members

Title Sort descending Modifiers Object type Summary
ClassNotFoundException::$classname private property
ClassNotFoundException::getClassname public function
ClassNotFoundException::__construct public function
RSS feed
Powered by Drupal