class AnnotationEnum

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

Plugin annotation

@Target("ALL");

Hierarchy

  • class \Drupal\Tests\Component\Annotation\Doctrine\Fixtures\AnnotationEnum

Expanded class hierarchy of AnnotationEnum

Related topics

File

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

Namespace

Drupal\Tests\Component\Annotation\Doctrine\Fixtures
View source
final class AnnotationEnum {
    const ONE = 'ONE';
    const TWO = 'TWO';
    const THREE = 'THREE';
    
    /**
     * @var mixed
     *
     * @Enum({"ONE","TWO","THREE"})
     */
    public $value;

}

Members

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

@Enum({"ONE","TWO","THREE"})
AnnotationEnum::ONE constant
AnnotationEnum::THREE constant
AnnotationEnum::TWO constant

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