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

Breadcrumb

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

class UnknownClassOrInterfaceException

@no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit

@internal This class is not covered by the backward compatibility promise for PHPUnit

Hierarchy

  • class \PHPUnit\Framework\Exception extends \RuntimeException implements \PHPUnit\Exception
    • class \PHPUnit\Framework\InvalidArgumentException extends \PHPUnit\Framework\Exception
      • class \PHPUnit\Framework\UnknownClassOrInterfaceException extends \PHPUnit\Framework\InvalidArgumentException

Expanded class hierarchy of UnknownClassOrInterfaceException

1 file declares its use of UnknownClassOrInterfaceException
IsInstanceOf.php in vendor/phpunit/phpunit/src/Framework/Constraint/Type/IsInstanceOf.php

File

vendor/phpunit/phpunit/src/Framework/Exception/UnknownClassOrInterfaceException.php, line 19

Namespace

PHPUnit\Framework
View source
final class UnknownClassOrInterfaceException extends InvalidArgumentException {
    public function __construct(string $name) {
        parent::__construct(sprintf('Class or interface "%s" does not exist', $name));
    }

}

Members

Title Sort descending Modifiers Object type Summary
UnknownClassOrInterfaceException::__construct public function

API Navigation

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