public function wrapRevision($history)
    {
        if ($history && $presenter = $this->getRevisionPresenter()) {
            return $presenter::make($history, $this);
        }

        return $history;
    }
public function wrapRevision($history)
    {
        if ($history && $presenter = $this->getRevisionPresenter()) {
            return $presenter::make($history, $this);
        }

        return $history;
    }
public function wrapRevision ( $ history ) { if ( $ history && $ presenter = $ this -> getRevisionPresenter ( ) ) { return $ presenter :: make ( $ history , $ this ) ; } return $ history ; }
Wrap revision model with the presenter if provided.

@param \Sofa\Revisionable\Laravel\Revision|\Illuminate\Database\Eloquent\Collection $history

@return \Sofa\Revisionable\Laravel\Presenter|\Sofa\Revisionable\Laravel\Revision
Wrap revision model with the presenter if provided .