You are here

class ClassWithInvalidAnnotationTargetAtProperty in Drupal 8

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

Plugin annotation

@AnnotationTargetClass("Some data");

Hierarchy

Expanded class hierarchy of ClassWithInvalidAnnotationTargetAtProperty

File

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

Namespace

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

  /**
   * @AnnotationTargetClass("Bar")
   */
  public $foo;

  /**
   * @AnnotationTargetAnnotation("Foo")
   */
  public $bar;

}

Members

Namesort descending Modifiers Type Description Overrides
ClassWithInvalidAnnotationTargetAtProperty::$bar public property Plugin annotation @AnnotationTargetAnnotation("Foo");
ClassWithInvalidAnnotationTargetAtProperty::$foo public property Plugin annotation @AnnotationTargetClass("Bar");