You are here

class ClassWithInvalidAnnotationTargetAtMethod in Drupal 8

Same name and namespace in other branches
  1. 9 core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/ClassWithInvalidAnnotationTargetAtMethod.php \Drupal\Tests\Component\Annotation\Doctrine\Fixtures\ClassWithInvalidAnnotationTargetAtMethod
  2. 10 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 11

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