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

Show file Open project: appserver-io/appserver

Protected Properties

Property Type Description
$systemProperties array The system properties to use.

Public Methods

Method 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 method

Array with the system properties to use.
public getSystemProperties ( ) : array
return array

getSystemPropertiesAsArray() public method

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

getSystemProperty() public method

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
return mixed The requested system property casted to the specified type

setSystemProperties() public method

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

setSystemProperty() public method

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
return void

Property Details

$systemProperties protected property

The system properties to use.
protected array $systemProperties
return array