src/Venturecraft/Revisionable/Revision.php
private function formatFieldName($key)
    {
        $related_model = $this->revisionable_type;
        $related_model = new $related_model;
        $revisionFormattedFieldNames = $related_model->getRevisionFormattedFieldNames();

        if (isset($revisionFormattedFieldNames[$key])) {
            return $revisionFormattedFieldNames[$key];
        }

        return false;
    }
private function formatFieldName($key)
    {
        $related_model = $this->revisionable_type;
        $related_model = new $related_model;
        $revisionFormattedFieldNames = $related_model->getRevisionFormattedFieldNames();

        if (isset($revisionFormattedFieldNames[$key])) {
            return $revisionFormattedFieldNames[$key];
        }

        return false;
    }
private function formatFieldName ( $ key ) { $ related_model = $ this -> revisionable_type ; $ related_model = new $ related_model ; $ revisionFormattedFieldNames = $ related_model -> getRevisionFormattedFieldNames ( ) ; if ( isset ( $ revisionFormattedFieldNames [ $ key ] ) ) { return $ revisionFormattedFieldNames [ $ key ] ; } return false ; }
Format field name.

Allow overrides for field names.

@param $key

@return bool
Format field name .