class EntityGenerator (View source)

Class EntityGenerator

Methods

__construct(NodeType $nodeType)

EntityGenerator constructor.

string
getClassContent()

No description

string
getClassBody()

No description

string
getClassHeader()

No description

string
getClassAnnotations()

No description

string
getClassProperties()

No description

string
getClassConstructor()

No description

string
getClassMethods()

No description

Details

__construct(NodeType $nodeType)

EntityGenerator constructor.

Parameters

NodeType $nodeType

protected AbstractFieldGenerator|null getFieldGenerator(NodeTypeField $field)

Parameters

NodeTypeField $field

Return Value

AbstractFieldGenerator|null

string getClassContent()

Return Value

string

protected string getClassBody()

Return Value

string

protected string getClassHeader()

Return Value

string

protected string getClassAnnotations()

Return Value

string

protected string getClassProperties()

Return Value

string

protected string getClassConstructor()

Return Value

string

protected string getClassMethods()

Return Value

string