class ClassWithInvalidAnnotationTargetAtProperty
Plugin annotation
@AnnotationTargetClass("Some data");
  
  Hierarchy
- class \Drupal\Tests\Component\Annotation\Doctrine\Fixtures\ClassWithInvalidAnnotationTargetAtProperty
 
Expanded class hierarchy of ClassWithInvalidAnnotationTargetAtProperty
File
- 
              core/
tests/ Drupal/ Tests/ Component/ Annotation/ Doctrine/ Fixtures/ ClassWithInvalidAnnotationTargetAtProperty.php, line 13  
Namespace
Drupal\Tests\Component\Annotation\Doctrine\FixturesView 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.