src/Venturecraft/Revisionable/Revision.php
private function isRelated()
    {
        $isRelated = false;
        $idSuffix = '_id';
        $pos = strrpos($this->key, $idSuffix);

        if ($pos !== false
            && strlen($this->key) - strlen($idSuffix) === $pos
        ) {
            $isRelated = true;
        }

        return $isRelated;
    }
private function isRelated()
    {
        $isRelated = false;
        $idSuffix = '_id';
        $pos = strrpos($this->key, $idSuffix);

        if ($pos !== false
            && strlen($this->key) - strlen($idSuffix) === $pos
        ) {
            $isRelated = true;
        }

        return $isRelated;
    }
private function isRelated ( ) { $ isRelated = false ; $ idSuffix = '_id' ; $ pos = strrpos ( $ this -> key , $ idSuffix ) ; if ( $ pos !== false && strlen ( $ this -> key ) - strlen ( $ idSuffix ) === $ pos ) { $ isRelated = true ; } return $ isRelated ; }
Return true if the key is for a related model.

@return bool
Return true if the key is for a related model .