‪TYPO3CMS  ‪main
TYPO3\CMS\Core\Tests\UnitDeprecated\Type\Fixture\Enumeration\DuplicateConstantValueEnumeration Class Reference
Inheritance diagram for TYPO3\CMS\Core\Tests\UnitDeprecated\Type\Fixture\Enumeration\DuplicateConstantValueEnumeration:
TYPO3\CMS\Core\Type\Enumeration TYPO3\CMS\Core\Type\TypeInterface

Public Attributes

const FOO = 1
 
const BAR = 1
 

Additional Inherited Members

- ‪Public Member Functions inherited from ‪TYPO3\CMS\Core\Type\Enumeration
 __construct ($value=null)
 
bool equals ($value)
 
string __toString ()
 
- ‪Static Public Member Functions inherited from ‪TYPO3\CMS\Core\Type\Enumeration
static array getConstants ($include_default=false)
 
static static cast ($value)
 
static string getName ($value)
 
static string getHumanReadableName ($value)
 
- ‪Protected Member Functions inherited from ‪TYPO3\CMS\Core\Type\Enumeration
 setValue ($value)
 
bool isValid ($value)
 
- ‪Static Protected Member Functions inherited from ‪TYPO3\CMS\Core\Type\Enumeration
static loadValues ()
 
- ‪Protected Attributes inherited from ‪TYPO3\CMS\Core\Type\Enumeration
mixed $value
 
- ‪Static Protected Attributes inherited from ‪TYPO3\CMS\Core\Type\Enumeration
static array $enumConstants
 

Detailed Description

This is an invalid enumeration because the constant values are not unique

Definition at line 25 of file DuplicateConstantValueEnumeration.php.

Member Data Documentation

◆ BAR

const TYPO3\CMS\Core\Tests\UnitDeprecated\Type\Fixture\Enumeration\DuplicateConstantValueEnumeration::BAR = 1

Definition at line 28 of file DuplicateConstantValueEnumeration.php.

◆ FOO

const TYPO3\CMS\Core\Tests\UnitDeprecated\Type\Fixture\Enumeration\DuplicateConstantValueEnumeration::FOO = 1

Definition at line 27 of file DuplicateConstantValueEnumeration.php.