You are here

AnnotationWithConstants.php in Drupal 9

File

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

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");