You are here

ClassWithInvalidAnnotationTargetAtProperty.php in Drupal 9

File

core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/ClassWithInvalidAnnotationTargetAtProperty.php
View source
<?php

namespace Drupal\Tests\Component\Annotation\Doctrine\Fixtures;

use Drupal\Tests\Component\Annotation\Doctrine\Fixtures\AnnotationTargetClass;
use Drupal\Tests\Component\Annotation\Doctrine\Fixtures\AnnotationTargetAnnotation;

/**
 * @AnnotationTargetClass("Some data")
 */
class ClassWithInvalidAnnotationTargetAtProperty {

  /**
   * @AnnotationTargetClass("Bar")
   */
  public $foo;

  /**
   * @AnnotationTargetAnnotation("Foo")
   */
  public $bar;

}

Classes

Namesort descending Description
ClassWithInvalidAnnotationTargetAtProperty Plugin annotation @AnnotationTargetClass("Some data");