public function createProperty($name, $type = NULL, $default = self::UNDEFINED, $modifiers = GProperty::MODIFIER_PROTECTED) {
    $gProperty = GProperty::create($name, $type, $default,  $modifiers);
    
    $this->addProperty($gProperty);
    return $gProperty;
  }
public function createProperty($name, $type = NULL, $default = self::UNDEFINED, $modifiers = GProperty::MODIFIER_PROTECTED) {
    $gProperty = GProperty::create($name, $type, $default,  $modifiers);
    
    $this->addProperty($gProperty);
    return $gProperty;
  }
public function createProperty ( $ name , $ type = NULL , $ default = self :: UNDEFINED , $ modifiers = GProperty :: MODIFIER_PROTECTED ) { $ gProperty = GProperty :: create ( $ name , $ type , $ default , $ modifiers ) ; $ this -> addProperty ( $ gProperty ) ; return $ gProperty ; }
Creates a new property and adds it to the class

notice: this is not chainable, you can leave the chain with getGClass()
@return GProperty
Creates a new property and adds it to the class