class AnnotationEnumInvalid

Same name in other branches
  1. 9 core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/AnnotationEnumInvalid.php \Drupal\Tests\Component\Annotation\Doctrine\Fixtures\AnnotationEnumInvalid
  2. 8.9.x core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/AnnotationEnumInvalid.php \Drupal\Tests\Component\Annotation\Doctrine\Fixtures\AnnotationEnumInvalid
  3. 10 core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/AnnotationEnumInvalid.php \Drupal\Tests\Component\Annotation\Doctrine\Fixtures\AnnotationEnumInvalid

Plugin annotation

@Target("ALL");

Hierarchy

Expanded class hierarchy of AnnotationEnumInvalid

Related topics

File

core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/AnnotationEnumInvalid.php, line 11

Namespace

Drupal\Tests\Component\Annotation\Doctrine\Fixtures
View source
final class AnnotationEnumInvalid {
    
    /**
     * @var mixed
     *
     * @Enum({1, 2, "foo", "bar", {"foo":"bar"}})
     */
    public $value;

}

Members

Title Sort descending Modifiers Object type Summary
AnnotationEnumInvalid::$value public property Plugin annotation

@Enum({1, 2, "foo", "bar", {"foo":"bar"}})

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