AnnotationEnumLiteralInvalid::$value

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

Plugin annotation


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

Type: mixed

File

core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/AnnotationEnumLiteralInvalid.php, line 30

Class

AnnotationEnumLiteralInvalid
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.