class AnnotationWithConstants

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

Plugin annotation

@Target("ALL");

Hierarchy

Expanded class hierarchy of AnnotationWithConstants

Related topics

1 file declares its use of AnnotationWithConstants
DocParserTest.php in core/tests/Drupal/Tests/Component/Annotation/Doctrine/DocParserTest.php

File

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

Namespace

Drupal\Tests\Component\Annotation\Doctrine\Fixtures
View source
final class AnnotationWithConstants {
    const INTEGER = 1;
    const FLOAT = 1.2;
    const STRING = '1.2.3';
    
    /**
     * @var mixed
     */
    public $value;

}

Members


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