Same filename and directory in other branches
  1. 8.9.x core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/AnnotationWithConstants.php
  2. 9 core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/AnnotationWithConstants.php

Namespace

Drupal\Tests\Component\Annotation\Doctrine\Fixtures

File

core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/AnnotationWithConstants.php
View source
<?php

declare (strict_types=1);
namespace Drupal\Tests\Component\Annotation\Doctrine\Fixtures;


/**
 * @Annotation
 * @Target("ALL")
 */
final class AnnotationWithConstants {
  const INTEGER = 1;
  const FLOAT = 1.2;
  const STRING = '1.2.3';

  /**
   * @var mixed
   */
  public $value;

}

Classes

Namesort descending Description
AnnotationWithConstants Plugin annotation @Target("ALL");