AnnotationWithConstants.php
Same filename in other branches
Namespace
Drupal\Tests\Component\Annotation\Doctrine\FixturesFile
-
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
Title | Deprecated | Summary |
---|---|---|
AnnotationWithConstants | Plugin annotation @Target("ALL"); |
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.