You are here

class ClassWithInvalidAnnotationTargetAtMethod in Drupal 9

Same name and namespace in other branches
  1. 8 core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/ClassWithInvalidAnnotationTargetAtMethod.php \Drupal\Tests\Component\Annotation\Doctrine\Fixtures\ClassWithInvalidAnnotationTargetAtMethod

Plugin annotation

@AnnotationTargetClass("Some data");

Hierarchy

Expanded class hierarchy of ClassWithInvalidAnnotationTargetAtMethod

File

core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/ClassWithInvalidAnnotationTargetAtMethod.php, line 10

Namespace

Drupal\Tests\Component\Annotation\Doctrine\Fixtures
View source
class ClassWithInvalidAnnotationTargetAtMethod {

  /**
   * @AnnotationTargetClass("functionName")
   */
  public function functionName($param) {
  }

}

Members

Namesort descending Modifiers Type Description Overrides
ClassWithInvalidAnnotationTargetAtMethod::functionName public function Plugin annotation @AnnotationTargetClass("functionName");