class YamlFieldGenerator extends NonVirtualFieldGenerator (View source)

Class YamlFieldGenerator

Properties

protected NodeTypeField $field from AbstractFieldGenerator

Methods

__construct(NodeTypeField $field)

AbstractFieldGenerator constructor.

static 
flattenORMParameters(array $ormParams)

No description

string
getField()

Generate PHP code for current doctrine field.

string
getFieldAnnotation()

No description

string
getFieldGetter()

No description

string
getFieldAlternativeGetter()

No description

string
getFieldSetter()

No description

string
getFieldIndex()

Generate PHP annotation block for Doctrine table indexes.

string
getFieldConstructorInitialization()

Generate PHP property initialization for class constructor.

Details

__construct(NodeTypeField $field)

AbstractFieldGenerator constructor.

Parameters

NodeTypeField $field

static flattenORMParameters(array $ormParams)

Parameters

array $ormParams

string getField()

Generate PHP code for current doctrine field.

Return Value

string

string getFieldAnnotation()

Return Value

string

getFieldDeclaration()

string getFieldGetter()

Return Value

string

string getFieldAlternativeGetter()

Return Value

string

string getFieldSetter()

Return Value

string

string getFieldIndex()

Generate PHP annotation block for Doctrine table indexes.

Return Value

string

string getFieldConstructorInitialization()

Generate PHP property initialization for class constructor.

Return Value

string