818. Class

818.1. Zend\Code\Generator\PropertyGenerator

818.1.1. Methods

818.1.1.1. fromReflection

fromReflection()

@param PropertyReflection $reflectionProperty

Return type:PropertyGenerator

818.1.1.2. fromArray

fromArray()

Generate from array

Parameters:array
Return type:PropertyGenerator

818.1.1.3. __construct

__construct()

@param string $name

Parameters:
  • PropertyValueGenerator|string|array
  • int|array

818.1.1.4. setConst

setConst()

@param bool $const

Return type:PropertyGenerator

818.1.1.5. isConst

isConst()

@return bool

818.1.1.6. setDefaultValue

setDefaultValue()

@param PropertyValueGenerator|string|array $defaultValue

Return type:PropertyGenerator

818.1.1.7. getDefaultValue

getDefaultValue()

@return PropertyValueGenerator

818.1.1.8. generate

generate()

@throws ExceptionRuntimeException

Return type:string

818.1.2. Constants

818.1.2.1. FLAG_CONSTANT