프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$constant | string | TRUE if the value is a constant. | |
$env | string | TRUE if the value is an environment variable. | |
$name | string | The paramss name. | |
$type | string | The params data type. |
메소드 | 설명 | |
---|---|---|
__construct ( string $name = '', string $type = '', AppserverIo\Configuration\Interfaces\ValueInterface $nodeValue = null, boolean $constant = false, boolean $env = false ) | Initializes the param node with the necessary data. | |
castToType ( ) : mixed | Casts the params value to the defined type and returns it. | |
getName ( ) : string | Returns the param name. | |
getPrimaryKey ( ) : string | Returns the nodes primary key, the name by default. | |
getType ( ) : string | Returns the param type. | |
isConstant ( ) : boolean | Returns the TRUE if the value is a constant, else FALSE. | |
isEnv ( ) : boolean | Returns the TRUE if the value is an environment variable, else FALSE. |
public __construct ( string $name = '', string $type = '', AppserverIo\Configuration\Interfaces\ValueInterface $nodeValue = null, boolean $constant = false, boolean $env = false ) | ||
$name | string | The params name |
$type | string | The params data type |
$nodeValue | AppserverIo\Configuration\Interfaces\ValueInterface | The params initial value |
$constant | boolean | TRUE if the value is a constant, else FALSE |
$env | boolean | TRUE if the value is an environment variable, else FALSE |
public castToType ( ) : mixed | ||
리턴 | mixed | The casted value |
public getPrimaryKey ( ) : string | ||
리턴 | string | The nodes primary key |
public isConstant ( ) : boolean | ||
리턴 | boolean | TRUE if the value is a constant, else FALSE |