type = $type; $this->id = $id; $this->title = $title; $this->defaultValue = $defaultValue; $this->value = $value; } }