Свойство | Тип | Описание | |
---|---|---|---|
$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 |
protected string $constant | ||
Результат | string |
protected string $env | ||
Результат | string |