Type
extends EnumType
in package
Specific ENUM type class for Doctrine mapping
The namespace of this class contains information about the component, entity and field it is generated for. Namespace scheme is: \Cx\Core\Model\Data\Enum<component_name><entity_name> The class name equals the field's name (starting with an uppercase letter).
Tags
Table of Contents
Properties
- $values : array<string|int, mixed>
- Sets the possible values for this ENUM type
Methods
- getDefaultLength() : mixed
- {@inheritdoc}
- getName() : mixed
- {@inheritdoc}
- getSQLDeclaration() : mixed
- {@inheritdoc}
Properties
$values
Sets the possible values for this ENUM type
protected
array<string|int, mixed>
$values
= array('core', 'core_module', 'module')
List of possible values for this ENUM
Methods
getDefaultLength()
{@inheritdoc}
public
getDefaultLength(AbstractPlatform $platform) : mixed
Parameters
- $platform : AbstractPlatform
getName()
{@inheritdoc}
public
getName() : mixed
getSQLDeclaration()
{@inheritdoc}
public
getSQLDeclaration(array<string|int, mixed> $fieldDeclaration, AbstractPlatform $platform) : mixed
Parameters
- $fieldDeclaration : array<string|int, mixed>
- $platform : AbstractPlatform