public function setValue($value) { $old = $this->value; $this->value = $value; $this->humanValue = static::plainToHuman($value); $this->onUpdate($old); }