class StructEnum extends Struct (View source)

Constants

METHOD_VALUE_IS_VALID

METHOD_GET_VALID_VALUES

Methods

setModel(AbstractModel $model)

No description

defineUseStatements()

No description

fillClassConstants(Constant $constants)

No description

getConstantAnnotationBlock(PhpConstant $constant)

No description

getModelAttributes()

No description

from Struct
fillClassProperties(Property $properties)

No description

from Struct
getPropertyAnnotationBlock(PhpProperty $property)

No description

from Struct
fillClassMethods()

No description

addStructMethodConstruct()

No description

from Struct
addStructMethodConstructBody(PhpMethod $method)

No description

from Struct
addStructMethodConstructBodyForAttribute(PhpMethod $method, StructAttribute $attribute, bool $isLast)

No description

from Struct
from Struct
getStructMethodParameter(StructAttribute $attribute)

No description

from Struct
addStructMethodsSetAndGet()

No description

from Struct
addStructMethodAddTo(StructAttribute $attribute)

No description

from Struct
addStructMethodAddToBody(PhpMethod $method, StructAttribute $attribute)

No description

from Struct
addStructMethodSet(StructAttribute $attribute)

No description

from Struct
addStructMethodSetBody(PhpMethod $method, StructAttribute $attribute)

No description

from Struct
addStructMethodSetBodyAssignment(PhpMethod $method, StructAttribute $attribute, string $parameterName)

No description

from Struct
addStructMethodSetBodyReturn(PhpMethod $method)

No description

from Struct
getStructMethodSetBodyAssignment(StructAttribute $attribute, string $parameterName)

No description

from Struct
addStructMethodGetBody(PhpMethod $method, StructAttribute $attribute, string $thisAccess)

No description

from Struct
addStructMethodGetBodyReturn(PhpMethod $method, StructAttribute $attribute, string $thisAccess)

No description

from Struct
addStructMethodGet(StructAttribute $attribute)

No description

from Struct
getStructMethodGetParameters(StructAttribute $attribute)

No description

from Struct
getMethodAnnotationBlock(PhpMethod $method)

No description

getStructMethodAnnotationBlock(PhpMethod $method)

No description

from Struct
getStructMethodsSetAndGetAnnotationBlock(PhpMethod $method)

No description

from Struct
addStructMethodsSetAndGetAnnotationBlockFromStructAttribute(string $setOrGet, PhpAnnotationBlock $annotationBlock, StructAttribute $attribute)

No description

from Struct
addStructMethodsSetAndGetAnnotationBlockFromScalar(string $setOrGet, PhpAnnotationBlock $annotationBlock, string $attributeName)

No description

from Struct
addStructMethodsSetAnnotationBlock(PhpAnnotationBlock $annotationBlock, string $type, string $name)

No description

from Struct
addStructMethodsGetAnnotationBlock(PhpAnnotationBlock $annotationBlock, string $attributeType)

No description

from Struct
addStructMethodsGetAnnotationBlockFromXmlAttribute(PhpAnnotationBlock $annotationBlock, StructAttribute $attribute)

No description

from Struct
addStructPropertiesToAnnotationBlock(PhpAnnotationBlock $annotationBlock)

No description

from Struct
addStructPropertiesToAnnotationBlockUses(PhpAnnotationBlock $annotationBlock)

No description

from Struct
addStructPropertiesToAnnotationBlockParams(PhpAnnotationBlock $annotationBlock)

No description

from Struct
getStructMethodsAddToAnnotationBlock(PhpMethod $method)

No description

from Struct
getStructMethodsValidateArrayAnnotationBlock(PhpMethod $method)

No description

from Struct
getStructMethodsValidateUnionAnnotationBlock(PhpMethod $method)

No description

from Struct
getStructMethodsValidateChoiceAnnotationBlock(PhpMethod $method)

No description

from Struct
getStructMethodsValidateLengthAnnotationBlock(PhpMethod $method, string $type = '')

No description

from Struct
applyRules(PhpMethod $method, StructAttribute $attribute, string $parameterName, bool $itemType = false)

No description

from Struct
getEnumMethodGetValidValues()

No description

getEnumMethodValues()

No description

Details

setModel(AbstractModel $model)

Parameters

AbstractModel $model

protected defineUseStatements()

protected fillClassConstants(Constant $constants)

Parameters

Constant $constants

protected getConstantAnnotationBlock(PhpConstant $constant)

Parameters

PhpConstant $constant

protected getModelAttributes()

protected fillClassProperties(Property $properties)

Parameters

Property $properties

protected getPropertyAnnotationBlock(PhpProperty $property)

Parameters

PhpProperty $property

protected fillClassMethods()

protected addStructMethodConstruct()

protected addStructMethodConstructBody(PhpMethod $method)

Parameters

PhpMethod $method

protected addStructMethodConstructBodyForAttribute(PhpMethod $method, StructAttribute $attribute, bool $isLast)

Parameters

PhpMethod $method
StructAttribute $attribute
bool $isLast

protected getStructMethodParametersValues()

protected getStructMethodParameter(StructAttribute $attribute)

Parameters

StructAttribute $attribute

protected addStructMethodsSetAndGet()

protected addStructMethodAddTo(StructAttribute $attribute)

Parameters

StructAttribute $attribute

protected addStructMethodAddToBody(PhpMethod $method, StructAttribute $attribute)

Parameters

PhpMethod $method
StructAttribute $attribute

protected addStructMethodSet(StructAttribute $attribute)

Parameters

StructAttribute $attribute

protected addStructMethodSetBody(PhpMethod $method, StructAttribute $attribute)

Parameters

PhpMethod $method
StructAttribute $attribute

protected addStructMethodSetBodyAssignment(PhpMethod $method, StructAttribute $attribute, string $parameterName)

Parameters

PhpMethod $method
StructAttribute $attribute
string $parameterName

protected addStructMethodSetBodyReturn(PhpMethod $method)

Parameters

PhpMethod $method

protected getStructMethodSetBodyAssignment(StructAttribute $attribute, string $parameterName)

Parameters

StructAttribute $attribute
string $parameterName

protected addStructMethodGetBody(PhpMethod $method, StructAttribute $attribute, string $thisAccess)

Parameters

PhpMethod $method
StructAttribute $attribute
string $thisAccess

protected addStructMethodGetBodyReturn(PhpMethod $method, StructAttribute $attribute, string $thisAccess)

Parameters

PhpMethod $method
StructAttribute $attribute
string $thisAccess

protected addStructMethodGet(StructAttribute $attribute)

Parameters

StructAttribute $attribute

protected getStructMethodGetParameters(StructAttribute $attribute)

Parameters

StructAttribute $attribute

protected getMethodAnnotationBlock(PhpMethod $method)

Parameters

PhpMethod $method

protected getStructMethodAnnotationBlock(PhpMethod $method)

Parameters

PhpMethod $method

protected getStructMethodConstructAnnotationBlock()

protected getStructMethodsSetAndGetAnnotationBlock(PhpMethod $method)

Parameters

PhpMethod $method

protected addStructMethodsSetAndGetAnnotationBlockFromStructAttribute(string $setOrGet, PhpAnnotationBlock $annotationBlock, StructAttribute $attribute)

Parameters

string $setOrGet
PhpAnnotationBlock $annotationBlock
StructAttribute $attribute

protected addStructMethodsSetAndGetAnnotationBlockFromScalar(string $setOrGet, PhpAnnotationBlock $annotationBlock, string $attributeName)

Parameters

string $setOrGet
PhpAnnotationBlock $annotationBlock
string $attributeName

protected addStructMethodsSetAnnotationBlock(PhpAnnotationBlock $annotationBlock, string $type, string $name)

Parameters

PhpAnnotationBlock $annotationBlock
string $type
string $name

protected addStructMethodsGetAnnotationBlock(PhpAnnotationBlock $annotationBlock, string $attributeType)

Parameters

PhpAnnotationBlock $annotationBlock
string $attributeType

protected addStructMethodsGetAnnotationBlockFromXmlAttribute(PhpAnnotationBlock $annotationBlock, StructAttribute $attribute)

Parameters

PhpAnnotationBlock $annotationBlock
StructAttribute $attribute

protected addStructPropertiesToAnnotationBlock(PhpAnnotationBlock $annotationBlock)

Parameters

PhpAnnotationBlock $annotationBlock

protected addStructPropertiesToAnnotationBlockUses(PhpAnnotationBlock $annotationBlock)

Parameters

PhpAnnotationBlock $annotationBlock

protected addStructPropertiesToAnnotationBlockParams(PhpAnnotationBlock $annotationBlock)

Parameters

PhpAnnotationBlock $annotationBlock

protected getStructMethodsAddToAnnotationBlock(PhpMethod $method)

Parameters

PhpMethod $method

protected getStructMethodsValidateArrayAnnotationBlock(PhpMethod $method)

Parameters

PhpMethod $method

protected getStructMethodsValidateUnionAnnotationBlock(PhpMethod $method)

Parameters

PhpMethod $method

protected getStructMethodsValidateChoiceAnnotationBlock(PhpMethod $method)

Parameters

PhpMethod $method

protected getStructMethodsValidateLengthAnnotationBlock(PhpMethod $method, string $type = '')

Parameters

PhpMethod $method
string $type

protected applyRules(PhpMethod $method, StructAttribute $attribute, string $parameterName, bool $itemType = false)

Parameters

PhpMethod $method
StructAttribute $attribute
string $parameterName
bool $itemType

protected getEnumMethodGetValidValues()

protected getEnumMethodValues()

protected getEnumGetValidValuesAnnotationBlock()