AnnotationEnumLiteral::$value

Same name in other branches
  1. 9 core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/AnnotationEnumLiteral.php \Drupal\Tests\Component\Annotation\Doctrine\Fixtures\AnnotationEnumLiteral::value
  2. 8.9.x core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/AnnotationEnumLiteral.php \Drupal\Tests\Component\Annotation\Doctrine\Fixtures\AnnotationEnumLiteral::value
  3. 11.x core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/AnnotationEnumLiteral.php \Drupal\Tests\Component\Annotation\Doctrine\Fixtures\AnnotationEnumLiteral::value

Plugin annotation


@Enum(
     value = {
         1,
         2,
         3,
     },
     literal = {
         1 : "AnnotationEnumLiteral::ONE",
         2 : "AnnotationEnumLiteral::TWO",
         3 : "AnnotationEnumLiteral::THREE",
     }
)

Type: mixed

File

core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/AnnotationEnumLiteral.php, line 35

Class

AnnotationEnumLiteral
Plugin annotation @Target("ALL");

Namespace

Drupal\Tests\Component\Annotation\Doctrine\Fixtures

Code

public $value;

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.