protected function getPropertyValue(string $property) : ?string
    {
        // For now, all unprefixed variables are also runtime variables.  If that ever changes this
        // logic will change with it.
        $isBuildVar = in_array($property, array_keys($this->directVariables));
        $isRuntimeVar = in_array($property, array_keys($this->directVariablesRuntime));
        $isUnprefixedVar = in_array($property, array_keys($this->unPrefixedVariablesRuntime));

        if ($isBuildVar) {
            $value = $this->getValue($this->directVariables[$property]);
        }
        else if ($isUnprefixedVar) {
            $value = $this->environmentVariables[$this->unPrefixedVariablesRuntime[$property]] ?? null;
        }
        else if ($isRuntimeVar) {
            $value = $this->getValue($this->directVariablesRuntime[$property]);
        }
        else {
            $value = null;
        }

        return $value;
    }
protected function getPropertyValue(string $property) : ?string
    {
        // For now, all unprefixed variables are also runtime variables.  If that ever changes this
        // logic will change with it.
        $isBuildVar = in_array($property, array_keys($this->directVariables));
        $isRuntimeVar = in_array($property, array_keys($this->directVariablesRuntime));
        $isUnprefixedVar = in_array($property, array_keys($this->unPrefixedVariablesRuntime));

        if ($isBuildVar) {
            $value = $this->getValue($this->directVariables[$property]);
        }
        else if ($isUnprefixedVar) {
            $value = $this->environmentVariables[$this->unPrefixedVariablesRuntime[$property]] ?? null;
        }
        else if ($isRuntimeVar) {
            $value = $this->getValue($this->directVariablesRuntime[$property]);
        }
        else {
            $value = null;
        }

        return $value;
    }
protected function getPropertyValue ( string $ property ) : ? string { // For now, all unprefixed variables are also runtime variables.  If that ever changes this // logic will change with it. $ isBuildVar = in_array ( $ property , array_keys ( $ this -> directVariables ) ) ; $ isRuntimeVar = in_array ( $ property , array_keys ( $ this -> directVariablesRuntime ) ) ; $ isUnprefixedVar = in_array ( $ property , array_keys ( $ this -> unPrefixedVariablesRuntime ) ) ; if ( $ isBuildVar ) { $ value = $ this -> getValue ( $ this -> directVariables [ $ property ] ) ; } else if ( $ isUnprefixedVar ) { $ value = $ this -> environmentVariables [ $ this -> unPrefixedVariablesRuntime [ $ property ] ] ?? null ; } else if ( $ isRuntimeVar ) { $ value = $ this -> getValue ( $ this -> directVariablesRuntime [ $ property ] ) ; } else { $ value = null ; } return $ value ; }
Returns the value of a dynamic property, whatever it's configuration.

@param string $property
The property value to get.
@return string|null
Returns the value of a dynamic property whatever it s configuration .