public function setName($name, $build)
    {
        $this->_name = (string) $name;
        if (isset($this->_name) && isset($this->_value)) {
            $build->getProperties()->set($this->_name, $this->_value);
        }
    }
public function setName($name, $build)
    {
        $this->_name = (string) $name;
        if (isset($this->_name) && isset($this->_value)) {
            $build->getProperties()->set($this->_name, $this->_value);
        }
    }
public function setName ( $ name , $ build ) { $ this -> _name = ( string ) $ name ; if ( isset ( $ this -> _name ) && isset ( $ this -> _value ) ) { $ build -> getProperties ( ) -> set ( $ this -> _name , $ this -> _value ) ; } }
sets the name of the property.

@param string $name
sets the name of the property .