classes/phing/PropertyHelper.php
public function getProperty($ns, $name)
    {
        if ($name === null) {
            return null;
        }
        $o = $this->getPropertyHook($ns, $name, false);
        if ($o !== null) {
            return $o;
        }

        $found = $this->properties[$name] ?? null;
        // check to see if there are unresolved property references
        if (false !== strpos($found, '${')) {
            // attempt to resolve properties
            $found = $this->replaceProperties(null, $found, null);
            // save resolved value
            $this->properties[$name] = $found;
        }

        return $found;
    }
public function getProperty($ns, $name)
    {
        if ($name === null) {
            return null;
        }
        $o = $this->getPropertyHook($ns, $name, false);
        if ($o !== null) {
            return $o;
        }

        $found = $this->properties[$name] ?? null;
        // check to see if there are unresolved property references
        if (false !== strpos($found, '${')) {
            // attempt to resolve properties
            $found = $this->replaceProperties(null, $found, null);
            // save resolved value
            $this->properties[$name] = $found;
        }

        return $found;
    }
public function getProperty ( $ ns , $ name ) { if ( $ name === null ) { return null ; } $ o = $ this -> getPropertyHook ( $ ns , $ name , false ) ; if ( $ o !== null ) { return $ o ; } $ found = $ this -> properties [ $ name ] ?? null ; // check to see if there are unresolved property references if ( false !== strpos ( $ found , '${' ) ) { // attempt to resolve properties $ found = $ this -> replaceProperties ( null , $ found , null ) ; // save resolved value $ this -> properties [ $ name ] = $ found ; } return $ found ; }
Returns the value of a property, if it is set.  You can override
this method in order to plug your own storage.

@param  string $ns The namespace for the property (currently not used).
@param  string $name The name of the property.
May be <code>null</code>, in which case
the return value is also <code>null</code>.
@return string the property value, or <code>null</code> for no match
or if a <code>null</code> name is provided.
Returns the value of a property if it is set . You can override this method in order to plug your own storage .