public function importFrom(Type $type) { $this->code = $type->code; $this->subtype = $type->subtype; $this->props = $type->props; }