You are here

final class AnnotationEnum in Drupal 8

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

Plugin annotation

@Target("ALL");

Hierarchy

  • class \Drupal\Tests\Component\Annotation\Doctrine\Fixtures\AnnotationEnum

Expanded class hierarchy of AnnotationEnum

Related topics

File

core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/AnnotationEnum.php, line 10

Namespace

Drupal\Tests\Component\Annotation\Doctrine\Fixtures
View source
final class AnnotationEnum {
  const ONE = 'ONE';
  const TWO = 'TWO';
  const THREE = 'THREE';

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

}

Members

Namesort descending Modifiers Type Description Overrides
AnnotationEnum::$value public property Plugin annotation @Enum({"ONE","TWO","THREE"})
AnnotationEnum::ONE constant
AnnotationEnum::THREE constant
AnnotationEnum::TWO constant