Venturecraft\Revisionable\Revision::historyOf PHP Méthode

historyOf() public méthode

Returns the object we have the history of
public historyOf ( ) : Object | false
Résultat Object | false
    public function historyOf()
    {
        if (class_exists($class = $this->revisionable_type)) {
            return $class::find($this->revisionable_id);
        }
        return false;
    }