PHP Trait AppserverIo\Appserver\Core\Api\Node\SystemPropertiesNodeTrait

Afficher le fichier Open project: appserver-io/appserver

Protected Properties

Свойство Type Description
$systemProperties array The system properties to use.

Méthodes publiques

Méthode Description
getSystemProperties ( ) : array Array with the system properties to use.
getSystemPropertiesAsArray ( ) : array Returns the system properties casted to the defined type as associative array.
getSystemProperty ( string $name ) : mixed Returns the system property with the passed name casted to the specified type.
setSystemProperties ( array $systemProperties ) : void Array with the system properties to use.
setSystemProperty ( string $name, string $type, mixed $value ) : void Sets the system property with the passed name, type and value.

Method Details

getSystemProperties() public méthode

Array with the system properties to use.
public getSystemProperties ( ) : array
Résultat array

getSystemPropertiesAsArray() public méthode

Returns the system properties casted to the defined type as associative array.
public getSystemPropertiesAsArray ( ) : array
Résultat array The array with the casted system properties

getSystemProperty() public méthode

Returns the system property with the passed name casted to the specified type.
public getSystemProperty ( string $name ) : mixed
$name string The name of the system property to be returned
Résultat mixed The requested system property casted to the specified type

setSystemProperties() public méthode

Array with the system properties to use.
public setSystemProperties ( array $systemProperties ) : void
$systemProperties array The array with the system properties
Résultat void

setSystemProperty() public méthode

Sets the system property with the passed name, type and value.
public setSystemProperty ( string $name, string $type, mixed $value ) : void
$name string The system property name
$type string The system property type
$value mixed The system property value
Résultat void

Property Details

$systemProperties protected_oe property

The system properties to use.
protected array $systemProperties
Résultat array