You are here

final class AnnotationEnumInvalid in Drupal 10

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

Plugin annotation

@Target("ALL");

Hierarchy

Expanded class hierarchy of AnnotationEnumInvalid

Related topics

File

core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/AnnotationEnumInvalid.php, line 9

Namespace

Drupal\Tests\Component\Annotation\Doctrine\Fixtures
View source
final class AnnotationEnumInvalid {

  /**
   * @var mixed
   *
   * @Enum({1, 2, "foo", "bar", {"foo":"bar"}})
   */
  public $value;

}

Members

Namesort descending Modifiers Type Description Overrides
AnnotationEnumInvalid::$value public property Plugin annotation @Enum({1, 2, "foo", "bar", {"foo":"bar"}})