public function createConstant($name, $type = NULL, $default = self::UNDEFINED, $modifiers = GConstant::MODIFIER_PROTECTED) {
    $gConstant = GConstant::create($name, $type, $default, $modifiers);
    
    $this->addConstant($gConstant);
    return $gConstant;
  }
public function createConstant($name, $type = NULL, $default = self::UNDEFINED, $modifiers = GConstant::MODIFIER_PROTECTED) {
    $gConstant = GConstant::create($name, $type, $default, $modifiers);
    
    $this->addConstant($gConstant);
    return $gConstant;
  }
public function createConstant ( $ name , $ type = NULL , $ default = self :: UNDEFINED , $ modifiers = GConstant :: MODIFIER_PROTECTED ) { $ gConstant = GConstant :: create ( $ name , $ type , $ default , $ modifiers ) ; $ this -> addConstant ( $ gConstant ) ; return $ gConstant ; }
Creates a new constant and adds it to the class

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