Same filename and directory in other branches
  1. 8.9.x core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/AnnotationEnum.php
  2. 9 core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/AnnotationEnum.php

Namespace

Drupal\Tests\Component\Annotation\Doctrine\Fixtures

File

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

declare (strict_types=1);
namespace Drupal\Tests\Component\Annotation\Doctrine\Fixtures;


/**
 * @Annotation
 * @Target("ALL")
 */
final class AnnotationEnum {
  const ONE = 'ONE';
  const TWO = 'TWO';
  const THREE = 'THREE';

  /**
   * @var mixed
   *
   * @Enum({"ONE","TWO","THREE"})
   */
  public $value;

}

Classes

Namesort descending Description
AnnotationEnum Plugin annotation @Target("ALL");