Свойство | Тип | Описание | |
---|---|---|---|
$allowedTypes | array | ||
$arrayDepth | integer | ||
$constants | ArrayObject | Zend\Stdlib\ArrayObject | Autodetectable constants | |
$outputMode | string | ||
$type | string | ||
$value | mixed |
Метод | Описание | |
---|---|---|
__construct ( mixed $value = null, string $type = self::TYPE_AUTO, string $outputMode = self::OUTPUT_MULTIPLE_LINE, null | ArrayObject | Zend\Stdlib\ArrayObject $constants = null ) | ||
__toString ( ) | ||
addConstant ( string $constant ) | Add constant to list | |
deleteConstant ( string $constant ) : boolean | Delete constant from constant list | |
escape ( string $input, boolean $quote = true ) : string | Quotes value for PHP code. | |
generate ( ) : string | ||
getArrayDepth ( ) : integer | ||
getAutoDeterminedType ( mixed $value ) : string | ||
getConstants ( ) : ArrayObject | Zend\Stdlib\ArrayObject | Return constant list | |
getOutputMode ( ) : string | ||
getType ( ) : string | ||
getValue ( ) : mixed | ||
initEnvironmentConstants ( ) | Init constant list by defined and magic constants | |
isValidConstantType ( ) : boolean | ||
setArrayDepth ( integer $arrayDepth ) : |
||
setOutputMode ( string $outputMode ) : |
||
setType ( string $type ) : |
||
setValue ( mixed $value ) : |
Метод | Описание | |
---|---|---|
getValidatedType ( string $type ) : string |
public addConstant ( string $constant ) | ||
$constant | string |
public deleteConstant ( string $constant ) : boolean | ||
$constant | string | |
Результат | boolean |
public getAutoDeterminedType ( mixed $value ) : string | ||
$value | mixed | |
Результат | string |
public getConstants ( ) : ArrayObject | Zend\Stdlib\ArrayObject | ||
Результат | ArrayObject | Zend\Stdlib\ArrayObject |
protected getValidatedType ( string $type ) : string | ||
$type | string | |
Результат | string |
public initEnvironmentConstants ( ) |
public setArrayDepth ( integer $arrayDepth ) : |
||
$arrayDepth | integer | |
Результат |
public setOutputMode ( string $outputMode ) : |
||
$outputMode | string | |
Результат |
protected ArrayObject|ArrayObject,Zend\Stdlib $constants | ||
Результат | ArrayObject | Zend\Stdlib\ArrayObject |