class ClassWithValidAnnotationTarget in Drupal 9
Same name and namespace in other branches
- 8 core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/ClassWithValidAnnotationTarget.php \Drupal\Tests\Component\Annotation\Doctrine\Fixtures\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 12
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
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
ClassWithValidAnnotationTarget:: |
public | property | Plugin annotation @AnnotationTargetPropertyMethod("Some data"); | |
ClassWithValidAnnotationTarget:: |
public | property | Plugin annotation @AnnotationTargetAll("Some data",name="Some name") | |
ClassWithValidAnnotationTarget:: |
public | property | Plugin annotation @AnnotationTargetAll(@AnnotationTargetAnnotation); | |
ClassWithValidAnnotationTarget:: |
public | function | Plugin annotation @AnnotationTargetPropertyMethod("Some data",name="Some name") |