class AnnotationTargetClass

Same name in other branches
  1. 9 core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/AnnotationTargetClass.php \Drupal\Tests\Component\Annotation\Doctrine\Fixtures\AnnotationTargetClass
  2. 8.9.x core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/AnnotationTargetClass.php \Drupal\Tests\Component\Annotation\Doctrine\Fixtures\AnnotationTargetClass
  3. 11.x core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/AnnotationTargetClass.php \Drupal\Tests\Component\Annotation\Doctrine\Fixtures\AnnotationTargetClass

Plugin annotation

@Target("CLASS");

Hierarchy

Expanded class hierarchy of AnnotationTargetClass

Related topics

3 files declare their use of AnnotationTargetClass
ClassWithInvalidAnnotationTargetAtMethod.php in core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/ClassWithInvalidAnnotationTargetAtMethod.php
ClassWithInvalidAnnotationTargetAtProperty.php in core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/ClassWithInvalidAnnotationTargetAtProperty.php
ClassWithValidAnnotationTarget.php in core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/ClassWithValidAnnotationTarget.php
4 classes are annotated with AnnotationTargetClass
ClassWithInvalidAnnotationTargetAtMethod in core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/ClassWithInvalidAnnotationTargetAtMethod.php
Plugin annotation @AnnotationTargetClass("Some data");
ClassWithInvalidAnnotationTargetAtMethod::functionName in core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/ClassWithInvalidAnnotationTargetAtMethod.php
Plugin annotation @AnnotationTargetClass("functionName");
ClassWithInvalidAnnotationTargetAtProperty in core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/ClassWithInvalidAnnotationTargetAtProperty.php
Plugin annotation @AnnotationTargetClass("Some data");
ClassWithValidAnnotationTarget in core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/ClassWithValidAnnotationTarget.php
Plugin annotation @AnnotationTargetClass("Some data");

File

core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/AnnotationTargetClass.php, line 12

Namespace

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

}

Members

Title Sort descending Modifiers Object type Summary
AnnotationTargetClass::$data public property
AnnotationTargetClass::$name public property
AnnotationTargetClass::$target public property

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.