class AnnotationEnumLiteralInvalid
Same name in other branches
- 9 core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/AnnotationEnumLiteralInvalid.php \Drupal\Tests\Component\Annotation\Doctrine\Fixtures\AnnotationEnumLiteralInvalid
- 8.9.x core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/AnnotationEnumLiteralInvalid.php \Drupal\Tests\Component\Annotation\Doctrine\Fixtures\AnnotationEnumLiteralInvalid
- 10 core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/AnnotationEnumLiteralInvalid.php \Drupal\Tests\Component\Annotation\Doctrine\Fixtures\AnnotationEnumLiteralInvalid
Plugin annotation
@Target("ALL");
Hierarchy
- class \Drupal\Tests\Component\Annotation\Doctrine\Fixtures\AnnotationEnumLiteralInvalid
Expanded class hierarchy of AnnotationEnumLiteralInvalid
Related topics
File
-
core/
tests/ Drupal/ Tests/ Component/ Annotation/ Doctrine/ Fixtures/ AnnotationEnumLiteralInvalid.php, line 11
Namespace
Drupal\Tests\Component\Annotation\Doctrine\FixturesView source
final class AnnotationEnumLiteralInvalid {
const ONE = 1;
const TWO = 2;
const THREE = 3;
/**
* @var mixed
*
* @Enum(
* value = {
* 1,
* 2
* },
* literal = {
* 1 : "AnnotationEnumLiteral::ONE",
* 2 : "AnnotationEnumLiteral::TWO",
* 3 : "AnnotationEnumLiteral::THREE"
* }
* )
*/
public $value;
}
Members
Title Sort descending | Modifiers | Object type | Summary |
---|---|---|---|
AnnotationEnumLiteralInvalid::$value | public | property | Plugin annotation @Enum( value = { 1, 2 }, literal = { 1 : "AnnotationEnumLiteral::ONE", 2 : "AnnotationEnumLiteral::TWO", 3 : "AnnotationEnumLiteral::THREE" } ) |
AnnotationEnumLiteralInvalid::ONE | constant | ||
AnnotationEnumLiteralInvalid::THREE | constant | ||
AnnotationEnumLiteralInvalid::TWO | constant |
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.