You are here

public function ClassWithValidAnnotationTarget::someFunction in Drupal 10

Same name and namespace in other branches
  1. 8 core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/ClassWithValidAnnotationTarget.php \Drupal\Tests\Component\Annotation\Doctrine\Fixtures\ClassWithValidAnnotationTarget::someFunction()
  2. 9 core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/ClassWithValidAnnotationTarget.php \Drupal\Tests\Component\Annotation\Doctrine\Fixtures\ClassWithValidAnnotationTarget::someFunction()

Plugin annotation


@AnnotationTargetPropertyMethod("Some data",name="Some name")

File

core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/ClassWithValidAnnotationTarget.php, line 29

Class

ClassWithValidAnnotationTarget
Plugin annotation @AnnotationTargetClass("Some data");

Namespace

Drupal\Tests\Component\Annotation\Doctrine\Fixtures

Code

public function someFunction() {
}