Same name and namespace in other branches
  1. 8.9.x core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/AnnotationTargetPropertyMethod.php \Drupal\Tests\Component\Annotation\Doctrine\Fixtures\AnnotationTargetPropertyMethod
  2. 9 core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/AnnotationTargetPropertyMethod.php \Drupal\Tests\Component\Annotation\Doctrine\Fixtures\AnnotationTargetPropertyMethod

Plugin annotation


@Target({ "METHOD", "PROPERTY" })

Hierarchy

Expanded class hierarchy of AnnotationTargetPropertyMethod

Related topics

2 files declare their use of AnnotationTargetPropertyMethod
ClassWithInvalidAnnotationTargetAtClass.php in core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/ClassWithInvalidAnnotationTargetAtClass.php
ClassWithValidAnnotationTarget.php in core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/ClassWithValidAnnotationTarget.php
2 classes are annotated with AnnotationTargetPropertyMethod
ClassWithInvalidAnnotationTargetAtClass in core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/ClassWithInvalidAnnotationTargetAtClass.php
Plugin annotation @AnnotationTargetPropertyMethod("Some data");
ClassWithValidAnnotationTarget::someFunction in core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/ClassWithValidAnnotationTarget.php
Plugin annotation @AnnotationTargetPropertyMethod("Some data",name="Some name")

File

core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/AnnotationTargetPropertyMethod.php, line 11

Namespace

Drupal\Tests\Component\Annotation\Doctrine\Fixtures
View source
final class AnnotationTargetPropertyMethod {
  public $data;
  public $name;
  public $target;

}

Members