AnnotationEnumInvalid.php
Same filename in other branches
Namespace
Drupal\Tests\Component\Annotation\Doctrine\FixturesFile
-
core/
tests/ Drupal/ Tests/ Component/ Annotation/ Doctrine/ Fixtures/ AnnotationEnumInvalid.php
View source
<?php
namespace Drupal\Tests\Component\Annotation\Doctrine\Fixtures;
/**
* @Annotation
* @Target("ALL")
*/
final class AnnotationEnumInvalid {
/**
* @var mixed
*
* @Enum({1, 2, "foo", "bar", {"foo":"bar"}})
*/
public $value;
}
Classes
Title | Deprecated | Summary |
---|---|---|
AnnotationEnumInvalid | Plugin annotation @Target("ALL"); |
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.