protected function passThroughRevision($revision, $key)
    {
        $action = $revision->getAttribute('action');

        // @todo what about restored???
        if (in_array($action, ['created', 'updated'])) {
            return $revision->new($key);
        }
    }
protected function passThroughRevision($revision, $key)
    {
        $action = $revision->getAttribute('action');

        // @todo what about restored???
        if (in_array($action, ['created', 'updated'])) {
            return $revision->new($key);
        }
    }
protected function passThroughRevision ( $ revision , $ key ) { $ action = $ revision -> getAttribute ( 'action' ) ; // @todo what about restored??? if ( in_array ( $ action , [ 'created' , 'updated' ] ) ) { return $ revision -> new ( $ key ) ; } }
Get pass through value from another revision.

@param \Sofa\Revisionable\Revision|\Sofa\Revisionable\Laravel\Presenter $revision
@param string                                                           $key

@return mixed
Get pass through value from another revision .