src/Venturecraft/Revisionable/Revision.php
private function getRelatedModel()
    {
        $idSuffix = '_id';

        return substr($this->key, 0, strlen($this->key) - strlen($idSuffix));
    }
private function getRelatedModel()
    {
        $idSuffix = '_id';

        return substr($this->key, 0, strlen($this->key) - strlen($idSuffix));
    }
private function getRelatedModel ( ) { $ idSuffix = '_id' ; return substr ( $ this -> key , 0 , strlen ( $ this -> key ) - strlen ( $ idSuffix ) ) ; }
Return the name of the related model.

@return string
Return the name of the related model .