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

Breadcrumb

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

function AnnotationsAreNotSupportedForInternalClassesException::__construct

@psalm-param class-string $className

File

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

Class

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

Namespace

PHPUnit\Metadata

Code

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));
}

API Navigation

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