You are here

public property AnnotationEnumLiteralInvalid::$value in Drupal 10

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