class ClassWithInvalidAnnotationTargetAtProperty

Same name in other branches
  1. 8.9.x core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/ClassWithInvalidAnnotationTargetAtProperty.php \Drupal\Tests\Component\Annotation\Doctrine\Fixtures\ClassWithInvalidAnnotationTargetAtProperty
  2. 10 core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/ClassWithInvalidAnnotationTargetAtProperty.php \Drupal\Tests\Component\Annotation\Doctrine\Fixtures\ClassWithInvalidAnnotationTargetAtProperty
  3. 11.x core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/ClassWithInvalidAnnotationTargetAtProperty.php \Drupal\Tests\Component\Annotation\Doctrine\Fixtures\ClassWithInvalidAnnotationTargetAtProperty

Plugin annotation

@AnnotationTargetClass("Some data");

Hierarchy

Expanded class hierarchy of ClassWithInvalidAnnotationTargetAtProperty

File

core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/ClassWithInvalidAnnotationTargetAtProperty.php, line 11

Namespace

Drupal\Tests\Component\Annotation\Doctrine\Fixtures
View source
class ClassWithInvalidAnnotationTargetAtProperty {
    
    /**
     * @AnnotationTargetClass("Bar")
     */
    public $foo;
    
    /**
     * @AnnotationTargetAnnotation("Foo")
     */
    public $bar;

}

Members

Title Sort descending Modifiers Object type Summary
ClassWithInvalidAnnotationTargetAtProperty::$bar public property Plugin annotation
@AnnotationTargetAnnotation("Foo");
ClassWithInvalidAnnotationTargetAtProperty::$foo public property Plugin annotation
@AnnotationTargetClass("Bar");

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