__construct()
fromArray()
fromReflection()
generate()
getDefaultValue()
getIndentation()
getName()
getPassedByReference()
getPosition()
getSourceContent()
getType()
isSourceDirty()
setDefaultValue()
setIndentation()
setName()
setOptions()
setPassedByReference()
setPosition()
setSourceContent()
setSourceDirty()
setType()
$defaultValue
$indentation
$isSourceDirty
$name
$passedByReference
$position
$simple
$sourceContent
$type
LINE_FEED
__construct(string $name, string $type, mixed $defaultValue, int $position, bool $passByReference)
string
string
mixed
int
bool
fromArray(array $array) : \Zend\Code\Generator\ParameterGenerator
configkey | name string [required] Class Name |
---|---|
configkey | type string |
configkey | defaultvalue null|bool|string|int|float|array|ValueGenerator |
configkey | passedbyreference bool |
configkey | position int |
configkey | sourcedirty bool |
configkey | indentation string |
configkey | sourcecontent string |
array
\Zend\Code\Generator\Exception\InvalidArgumentException |
---|
fromReflection(\Zend\Code\Reflection\ParameterReflection $reflectionParameter) : \Zend\Code\Generator\ParameterGenerator
generate() : string
string
getDefaultValue() : string
string
getIndentation() : string
inherited_from | \Zend\Code\Generator\AbstractGenerator::getIndentation() |
---|
string
getName() : string
string
getPassedByReference() : bool
bool
getPosition() : int
int
getSourceContent() : string
inherited_from | \Zend\Code\Generator\AbstractGenerator::getSourceContent() |
---|
string
getType() : string
string
isSourceDirty() : bool
inherited_from | \Zend\Code\Generator\AbstractGenerator::isSourceDirty() |
---|
bool
setDefaultValue(null | bool | string | int | float | array | \Zend\Code\Generator\ValueGenerator $defaultValue) : \Zend\Code\Generator\ParameterGenerator
Certain variables are difficult to express
nullboolstringintfloatarray\Zend\Code\Generator\ValueGenerator
setIndentation(string $indentation) : \Zend\Code\Generator\AbstractGenerator
inherited_from | \Zend\Code\Generator\AbstractGenerator::setIndentation() |
---|
string
setOptions(array | \Traversable $options) : \Zend\Code\Generator\AbstractGenerator
inherited_from | \Zend\Code\Generator\AbstractGenerator::setOptions() |
---|
array\Traversable
\Zend\Code\Generator\Exception\InvalidArgumentException |
---|
setPassedByReference(bool $passedByReference) : \Zend\Code\Generator\ParameterGenerator
setSourceContent(string $sourceContent) : \Zend\Code\Generator\AbstractGenerator
inherited_from | \Zend\Code\Generator\AbstractGenerator::setSourceContent() |
---|
string
setSourceDirty(bool $isSourceDirty) : \Zend\Code\Generator\AbstractGenerator
inherited_from | \Zend\Code\Generator\AbstractGenerator::setSourceDirty() |
---|
bool
$indentation : int | string
inherited_from | \Zend\Code\Generator\AbstractGenerator::$$indentation |
---|
$isSourceDirty : bool
inherited_from | \Zend\Code\Generator\AbstractGenerator::$$isSourceDirty |
---|
$name : string
$passedByReference : bool
$position : int
$simple : array
$sourceContent : string
inherited_from | \Zend\Code\Generator\AbstractGenerator::$$sourceContent |
---|
$type : string
LINE_FEED
inherited_from | \Zend\Code\Generator\AbstractGenerator::LINE_FEED |
---|