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

Breadcrumb

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

class AnnotationsAreNotSupportedForInternalClassesException

@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\Metadata\AnnotationsAreNotSupportedForInternalClassesException extends \RuntimeException implements \PHPUnit\Exception

Expanded class hierarchy of AnnotationsAreNotSupportedForInternalClassesException

3 files declare their use of AnnotationsAreNotSupportedForInternalClassesException
AnnotationParser.php in vendor/phpunit/phpunit/src/Metadata/Parser/AnnotationParser.php
DocBlock.php in vendor/phpunit/phpunit/src/Metadata/Parser/Annotation/DocBlock.php
Registry.php in vendor/phpunit/phpunit/src/Metadata/Parser/Annotation/Registry.php

File

vendor/phpunit/phpunit/src/Metadata/Exception/AnnotationsAreNotSupportedForInternalClassesException.php, line 21

Namespace

PHPUnit\Metadata
View source
final class AnnotationsAreNotSupportedForInternalClassesException extends RuntimeException implements Exception {
    
    /**
     * @psalm-param class-string $className
     */
    public function __construct(string $className) {
        parent::__construct(sprintf('Annotations can only be parsed for user-defined classes, trying to parse annotations for class "%s"', $className));
    }

}

Members

Title Sort descending Modifiers Object type Summary
AnnotationsAreNotSupportedForInternalClassesException::__construct public function @psalm-param class-string $className

API Navigation

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