public function setDefaultValue($value) : self
    {
        $this->default_value = $value;
        // If valid input was entered already, check if this value is different.
        if ($this->is_valid) {
            $this->is_changed = ($this->default_value == $this->user_value);
        }
        return $this;
    }
public function setDefaultValue($value) : self
    {
        $this->default_value = $value;
        // If valid input was entered already, check if this value is different.
        if ($this->is_valid) {
            $this->is_changed = ($this->default_value == $this->user_value);
        }
        return $this;
    }
public function setDefaultValue ( $ value ) : self { $ this -> default_value = $ value ; // If valid input was entered already, check if this value is different. if ( $ this -> is_valid ) { $ this -> is_changed = ( $ this -> default_value == $ this -> user_value ) ; } return $ this ; }
Sets the default or database value for the

@param mixed $value The value of the form field.

@return self
Sets the default or database value for the