value = $value; } public function __toString() { return ! empty( $this->unit ) ? $this->value . $this->unit : $this->value; } }