final public function getOriginalValue(string $fieldName, $defaultValue = '')
    {
        if (! is_array($this->originalValues) || ! array_key_exists($fieldName, $this->originalValues)) {
            return $defaultValue;
        }
        return $this->originalValues[$fieldName];
    }
final public function getOriginalValue(string $fieldName, $defaultValue = '')
    {
        if (! is_array($this->originalValues) || ! array_key_exists($fieldName, $this->originalValues)) {
            return $defaultValue;
        }
        return $this->originalValues[$fieldName];
    }
final public function getOriginalValue ( string $ fieldName , $ defaultValue = '' ) { if ( ! is_array ( $ this -> originalValues ) || ! array_key_exists ( $ fieldName , $ this -> originalValues ) ) { return $ defaultValue ; } return $ this -> originalValues [ $ fieldName ] ; }
Return the original value of a field
@param string $fieldName
@param mixed $defaultValue
@return mixed
Return the original value of a field