localUnit = setting('units.temperature'); $this->internalUnit = config('phpvms.internal_units.temperature'); if ($value instanceof self) { $value->toUnit($unit); $this->instance = $value->instance; } else { $this->instance = new PressureUnit($value, $unit); } } }