public function __construct($unit = null, $value = null) { $this->unit = $unit; $this->value = $value; }