protected function formatValue($value)
    {
        if ($this->formatValue !== NULL) {
            return str_replace(static::VALUE_IDENTIFIER, $value, $this->formatValue);
        } else {
            return $value;
        }
    }
protected function formatValue($value)
    {
        if ($this->formatValue !== NULL) {
            return str_replace(static::VALUE_IDENTIFIER, $value, $this->formatValue);
        } else {
            return $value;
        }
    }
protected function formatValue ( $ value ) { if ( $ this -> formatValue !== NULL ) { return str_replace ( static :: VALUE_IDENTIFIER , $ value , $ this -> formatValue ) ; } else { return $ value ; } }
Format value for database.
@param string $value
@return string
Format value for database .