/** * */ public function __construct(MEntityDescription $entity, MString $name, MString $type) { parent::__construct($entity, $name); $this->type = $type; $this->to = MEntityDescriptionRelationship::ToOne; $this->inverseRelationship = null; $this->singular = null; }
/** * */ public function __construct(MEntityDescription $entity, MString $name) { parent::__construct($entity, $name); $this->type = MEntityDescriptionProperty::StringType; $this->defaultValue = null; }