public function setSystemProperty($name, $type, $value)
    {

        // initialize the system property to set
        $sytemPropertyToSet = new SystemPropertyNode($name, $type, new NodeValue($value));

        // query whether a system property with this name has already been set
        foreach ($this->systemProperties as $key => $systemProperty) {
            if ($systemProperty->getName() === $systemProperty->getName()) {
                // override the system property
                $this->systemProperties[$key] = $sytemPropertyToSet;
                return;
            }
        }

        // append the system property
        $this->systemProperties[] = $sytemPropertyToSet;
    }
public function setSystemProperty($name, $type, $value)
    {

        // initialize the system property to set
        $sytemPropertyToSet = new SystemPropertyNode($name, $type, new NodeValue($value));

        // query whether a system property with this name has already been set
        foreach ($this->systemProperties as $key => $systemProperty) {
            if ($systemProperty->getName() === $systemProperty->getName()) {
                // override the system property
                $this->systemProperties[$key] = $sytemPropertyToSet;
                return;
            }
        }

        // append the system property
        $this->systemProperties[] = $sytemPropertyToSet;
    }
public function setSystemProperty ( $ name , $ type , $ value ) { // initialize the system property to set $ sytemPropertyToSet = new SystemPropertyNode ( $ name , $ type , new NodeValue ( $ value ) ) ; // query whether a system property with this name has already been set foreach ( $ this -> systemProperties as $ key => $ systemProperty ) { if ( $ systemProperty -> getName ( ) === $ systemProperty -> getName ( ) ) { // override the system property $ this -> systemProperties [ $ key ] = $ sytemPropertyToSet ; return ; } } // append the system property $ this -> systemProperties [ ] = $ sytemPropertyToSet ; }
Sets the system property with the passed name, type and value.

@param string $name  The system property name
@param string $type  The system property type
@param mixed  $value The system property value

@return void
Sets the system property with the passed name type and value .