class ClassWithInvalidAnnotationTargetAtMethod

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. 8.9.x core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/ClassWithInvalidAnnotationTargetAtMethod.php \Drupal\Tests\Component\Annotation\Doctrine\Fixtures\ClassWithInvalidAnnotationTargetAtMethod
  3. 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 12

Namespace

Drupal\Tests\Component\Annotation\Doctrine\Fixtures
View source
class ClassWithInvalidAnnotationTargetAtMethod {
    
    /**
     * @AnnotationTargetClass("functionName")
     */
    public function functionName($param) {
    }

}

Members

Title Sort descending Modifiers Object type Summary
ClassWithInvalidAnnotationTargetAtMethod::functionName public function Plugin annotation
@AnnotationTargetClass("functionName");

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.