class ClassWithValidAnnotationTarget
Plugin annotation
@AnnotationTargetClass("Some data");Hierarchy
- class \Drupal\Tests\Component\Annotation\Doctrine\Fixtures\ClassWithValidAnnotationTarget
Expanded class hierarchy of ClassWithValidAnnotationTarget
File
- 
              core/tests/ Drupal/ Tests/ Component/ Annotation/ Doctrine/ Fixtures/ ClassWithValidAnnotationTarget.php, line 13 
Namespace
Drupal\Tests\Component\Annotation\Doctrine\FixturesView source
class ClassWithValidAnnotationTarget {
  
  /**
   * @AnnotationTargetPropertyMethod("Some data")
   */
  public $foo;
  
  /**
   * @AnnotationTargetAll("Some data",name="Some name")
   */
  public $name;
  
  /**
   * @AnnotationTargetPropertyMethod("Some data",name="Some name")
   */
  public function someFunction() {
  }
  
  /**
   * @AnnotationTargetAll(@AnnotationTargetAnnotation)
   */
  public $nested;
}Members
| Title Sort descending | Modifiers | Object type | Summary | 
|---|---|---|---|
| ClassWithValidAnnotationTarget::$foo | public | property | Plugin annotation @AnnotationTargetPropertyMethod("Some data"); | 
| ClassWithValidAnnotationTarget::$name | public | property | Plugin annotation @AnnotationTargetAll("Some data",name="Some name") | 
| ClassWithValidAnnotationTarget::$nested | public | property | Plugin annotation @AnnotationTargetAll(@AnnotationTargetAnnotation); | 
| ClassWithValidAnnotationTarget::someFunction | public | function | Plugin annotation @AnnotationTargetPropertyMethod("Some data",name="Some name") | 
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.
