AppserverIo\Appserver\Core\Api\Node\SystemPropertiesNodeTrait::getSystemProperty PHP Method

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
    public function getSystemProperty($name)
    {
        $systemProperties = $this->getSystemPropertiesAsArray();
        if (array_key_exists($name, $systemProperties)) {
            return $systemProperties[$name];
        }
    }