AnnotationEnumLiteralInvalid::$value

Same name and namespace in other branches
  1. 9 core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/AnnotationEnumLiteralInvalid.php \Drupal\Tests\Component\Annotation\Doctrine\Fixtures\AnnotationEnumLiteralInvalid::value
  2. 8.9.x core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/AnnotationEnumLiteralInvalid.php \Drupal\Tests\Component\Annotation\Doctrine\Fixtures\AnnotationEnumLiteralInvalid::value
  3. 10 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 32

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.