Documentation

EnumType extends Type
in package

Generic ENUM type to make 'enum' available as a type to doctrine.

Mappings using the 'enum' type will be replaced during run-time so they use a specific sub-class of this class for each field. The respective classes are automatically generated.

Tags
see
YamlDriver
copyright

Cloudrexx AG

author

Michael Ritter michael.ritter@comvation.com

subpackage

core_model

Table of Contents

Properties

$values  : array<string|int, mixed>
This needs to be filled by sub-classes

Methods

getDefaultLength()  : mixed
{@inheritdoc}
getName()  : mixed
{@inheritdoc}
getSQLDeclaration()  : mixed
{@inheritdoc}

Properties

$values

This needs to be filled by sub-classes

protected array<string|int, mixed> $values = array()

List of possible values for this ENUM

Methods

getDefaultLength()

{@inheritdoc}

public getDefaultLength(AbstractPlatform $platform) : mixed
Parameters
$platform : AbstractPlatform

getSQLDeclaration()

{@inheritdoc}

public getSQLDeclaration(array<string|int, mixed> $fieldDeclaration, AbstractPlatform $platform) : mixed
Parameters
$fieldDeclaration : array<string|int, mixed>
$platform : AbstractPlatform

        
On this page

Search results