__construct()
__toString()
addConstant()
deleteConstant()
escape()
generate()
getArrayDepth()
getAutoDeterminedType()
getConstants()
getIndentation()
getOutputMode()
getSourceContent()
getType()
getValue()
initEnvironmentConstants()
isSourceDirty()
isValidConstantType()
setArrayDepth()
setIndentation()
setOptions()
setOutputMode()
setSourceContent()
setSourceDirty()
setType()
setValue()
getValidatedType()
$allowedTypes
$arrayDepth
$constants
$indentation
$isSourceDirty
$outputMode
$sourceContent
$type
$value
LINE_FEED
OUTPUT_MULTIPLE_LINE
OUTPUT_SINGLE_LINE
TYPE_ARRAY
TYPE_AUTO
TYPE_BOOL
TYPE_BOOLEAN
TYPE_CONSTANT
TYPE_DOUBLE
TYPE_FLOAT
TYPE_INT
TYPE_INTEGER
TYPE_NULL
TYPE_NUMBER
TYPE_OBJECT
TYPE_OTHER
TYPE_STRING
__construct(mixed $value, string $type, string $outputMode, \Zend\Stdlib\ArrayObject $constants)
inherited_from | \Zend\Code\Generator\ValueGenerator::__construct() |
---|
mixed
string
string
\Zend\Stdlib\ArrayObject
__toString()
inherited_from | \Zend\Code\Generator\ValueGenerator::__toString() |
---|
addConstant(string $constant) : \Zend\Code\Generator\$this
inherited_from | \Zend\Code\Generator\ValueGenerator::addConstant() |
---|
string
\Zend\Code\Generator\$this
deleteConstant(string $constant) : bool
inherited_from | \Zend\Code\Generator\ValueGenerator::deleteConstant() |
---|
string
bool
escape(string $input, bool $quote) : string
inherited_from | \Zend\Code\Generator\ValueGenerator::escape() |
---|
string
Raw string.
bool
Whether add surrounding quotes or not.
string
PHP-ready code.generate() : string
getArrayDepth() : int
inherited_from | \Zend\Code\Generator\ValueGenerator::getArrayDepth() |
---|
int
getAutoDeterminedType(mixed $value) : string
inherited_from | \Zend\Code\Generator\ValueGenerator::getAutoDeterminedType() |
---|
mixed
string
getIndentation() : string
inherited_from | \Zend\Code\Generator\AbstractGenerator::getIndentation() |
---|---|
inherited_from | \Zend\Code\Generator\ValueGenerator::getIndentation() |
string
getOutputMode() : string
inherited_from | \Zend\Code\Generator\ValueGenerator::getOutputMode() |
---|
string
getSourceContent() : string
inherited_from | \Zend\Code\Generator\AbstractGenerator::getSourceContent() |
---|---|
inherited_from | \Zend\Code\Generator\ValueGenerator::getSourceContent() |
string
getType() : string
inherited_from | \Zend\Code\Generator\ValueGenerator::getType() |
---|
string
getValue() : mixed
inherited_from | \Zend\Code\Generator\ValueGenerator::getValue() |
---|
mixed
initEnvironmentConstants()
inherited_from | \Zend\Code\Generator\ValueGenerator::initEnvironmentConstants() |
---|
isSourceDirty() : bool
inherited_from | \Zend\Code\Generator\AbstractGenerator::isSourceDirty() |
---|---|
inherited_from | \Zend\Code\Generator\ValueGenerator::isSourceDirty() |
bool
isValidConstantType() : bool
inherited_from | \Zend\Code\Generator\ValueGenerator::isValidConstantType() |
---|
bool
setArrayDepth(int $arrayDepth) : \Zend\Code\Generator\ValueGenerator
inherited_from | \Zend\Code\Generator\ValueGenerator::setArrayDepth() |
---|
int
setIndentation(string $indentation) : \Zend\Code\Generator\AbstractGenerator
inherited_from | \Zend\Code\Generator\AbstractGenerator::setIndentation() |
---|---|
inherited_from | \Zend\Code\Generator\ValueGenerator::setIndentation() |
string
setOptions(array | \Traversable $options) : \Zend\Code\Generator\AbstractGenerator
inherited_from | \Zend\Code\Generator\AbstractGenerator::setOptions() |
---|---|
inherited_from | \Zend\Code\Generator\ValueGenerator::setOptions() |
array\Traversable
\Zend\Code\Generator\Exception\InvalidArgumentException |
---|
setOutputMode(string $outputMode) : \Zend\Code\Generator\ValueGenerator
inherited_from | \Zend\Code\Generator\ValueGenerator::setOutputMode() |
---|
string
setSourceContent(string $sourceContent) : \Zend\Code\Generator\AbstractGenerator
inherited_from | \Zend\Code\Generator\AbstractGenerator::setSourceContent() |
---|---|
inherited_from | \Zend\Code\Generator\ValueGenerator::setSourceContent() |
string
setSourceDirty(bool $isSourceDirty) : \Zend\Code\Generator\AbstractGenerator
inherited_from | \Zend\Code\Generator\AbstractGenerator::setSourceDirty() |
---|---|
inherited_from | \Zend\Code\Generator\ValueGenerator::setSourceDirty() |
bool
setType(string $type) : \Zend\Code\Generator\ValueGenerator
inherited_from | \Zend\Code\Generator\ValueGenerator::setType() |
---|
string
setValue(mixed $value) : \Zend\Code\Generator\ValueGenerator
inherited_from | \Zend\Code\Generator\ValueGenerator::setValue() |
---|
mixed
getValidatedType(string $type) : string
inherited_from | \Zend\Code\Generator\ValueGenerator::getValidatedType() |
---|
string
string
$allowedTypes : array
inherited_from | \Zend\Code\Generator\ValueGenerator::$$allowedTypes |
---|
$arrayDepth : int
$constants : \Zend\Stdlib\ArrayObject
inherited_from | \Zend\Code\Generator\ValueGenerator::$$constants |
---|
$indentation : int | string
inherited_from | \Zend\Code\Generator\AbstractGenerator::$$indentation |
---|---|
inherited_from | \Zend\Code\Generator\ValueGenerator::$$indentation |
$isSourceDirty : bool
inherited_from | \Zend\Code\Generator\AbstractGenerator::$$isSourceDirty |
---|---|
inherited_from | \Zend\Code\Generator\ValueGenerator::$$isSourceDirty |
$outputMode : string
inherited_from | \Zend\Code\Generator\ValueGenerator::$$outputMode |
---|
$sourceContent : string
inherited_from | \Zend\Code\Generator\AbstractGenerator::$$sourceContent |
---|---|
inherited_from | \Zend\Code\Generator\ValueGenerator::$$sourceContent |
$type : string
inherited_from | \Zend\Code\Generator\ValueGenerator::$$type |
---|
$value : mixed
inherited_from | \Zend\Code\Generator\ValueGenerator::$$value |
---|
LINE_FEED
inherited_from | \Zend\Code\Generator\AbstractGenerator::LINE_FEED |
---|---|
inherited_from | \Zend\Code\Generator\ValueGenerator::LINE_FEED |
OUTPUT_MULTIPLE_LINE
inherited_from | \Zend\Code\Generator\ValueGenerator::OUTPUT_MULTIPLE_LINE |
---|
OUTPUT_SINGLE_LINE
inherited_from | \Zend\Code\Generator\ValueGenerator::OUTPUT_SINGLE_LINE |
---|
TYPE_ARRAY
inherited_from | \Zend\Code\Generator\ValueGenerator::TYPE_ARRAY |
---|
TYPE_AUTO
inherited_from | \Zend\Code\Generator\ValueGenerator::TYPE_AUTO |
---|
TYPE_BOOL
inherited_from | \Zend\Code\Generator\ValueGenerator::TYPE_BOOL |
---|
TYPE_BOOLEAN
inherited_from | \Zend\Code\Generator\ValueGenerator::TYPE_BOOLEAN |
---|
TYPE_CONSTANT
inherited_from | \Zend\Code\Generator\ValueGenerator::TYPE_CONSTANT |
---|
TYPE_DOUBLE
inherited_from | \Zend\Code\Generator\ValueGenerator::TYPE_DOUBLE |
---|
TYPE_FLOAT
inherited_from | \Zend\Code\Generator\ValueGenerator::TYPE_FLOAT |
---|
TYPE_INT
inherited_from | \Zend\Code\Generator\ValueGenerator::TYPE_INT |
---|
TYPE_INTEGER
inherited_from | \Zend\Code\Generator\ValueGenerator::TYPE_INTEGER |
---|
TYPE_NULL
inherited_from | \Zend\Code\Generator\ValueGenerator::TYPE_NULL |
---|
TYPE_NUMBER
inherited_from | \Zend\Code\Generator\ValueGenerator::TYPE_NUMBER |
---|
TYPE_OBJECT
inherited_from | \Zend\Code\Generator\ValueGenerator::TYPE_OBJECT |
---|
TYPE_OTHER
inherited_from | \Zend\Code\Generator\ValueGenerator::TYPE_OTHER |
---|
TYPE_STRING
inherited_from | \Zend\Code\Generator\ValueGenerator::TYPE_STRING |
---|