resource_type) { return $this->resource_type.' resource'; } return 'resource'; } public function transplant(Value $old): void { parent::transplant($old); if ($old instanceof self) { $this->resource_type = $old->resource_type; } } }