You are here

final class AnnotationTargetClass in Drupal 8

Same name and namespace in other branches
  1. 9 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 11

Namespace

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

}

Members