Свойство | Type | Description | |
---|---|---|---|
$allowedTypes | array | ||
$arrayDepth | integer | ||
$constants | ArrayObject | Zend\Stdlib\ArrayObject | Autodetectable constants | |
$outputMode | string | ||
$type | string | ||
$value | mixed |
Méthode | Description | |
---|---|---|
__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 ) : |
Méthode | Description | |
---|---|---|
getValidatedType ( string $type ) : string |
public addConstant ( string $constant ) | ||
$constant | string |
public deleteConstant ( string $constant ) : boolean | ||
$constant | string | |
Résultat | boolean |
public getAutoDeterminedType ( mixed $value ) : string | ||
$value | mixed | |
Résultat | string |
public getConstants ( ) : ArrayObject | Zend\Stdlib\ArrayObject | ||
Résultat | ArrayObject | Zend\Stdlib\ArrayObject |
protected getValidatedType ( string $type ) : string | ||
$type | string | |
Résultat | string |
public initEnvironmentConstants ( ) |
public setArrayDepth ( integer $arrayDepth ) : |
||
$arrayDepth | integer | |
Résultat |
public setOutputMode ( string $outputMode ) : |
||
$outputMode | string | |
Résultat |
protected ArrayObject|ArrayObject,Zend\Stdlib $constants | ||
Résultat | ArrayObject | Zend\Stdlib\ArrayObject |