class ClassWithInvalidAnnotationTargetAtProperty

Same name and namespace in other branches
  1. 11.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. 8.9.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;

}

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