original_string: protected function passThroughRevision($revision, $key)
      {
          $action = $revision->getAttribute('action');
  
          // @todo what about restored???
          if (in_array($action, ['created', 'updated'])) {
              return $revision->new($key);
          }
      }
code: protected function passThroughRevision($revision, $key)
      {
          $action = $revision->getAttribute('action');
  
          // @todo what about restored???
          if (in_array($action, ['created', 'updated'])) {
              return $revision->new($key);
          }
      }
code_tokens: protected function passThroughRevision ( $ revision , $ key ) { $ action = $ revision -> getAttribute ( 'action' ) ; // @todo what about restored??? if ( in_array ( $ action , [ 'created' , 'updated' ] ) ) { return $ revision -> new ( $ key ) ; } }
docstring: Get pass through value from another revision.
  
  @param \Sofa\Revisionable\Revision|\Sofa\Revisionable\Laravel\Presenter $revision
  @param string                                                           $key
  
  @return mixed
docstring_tokens: Get pass through value from another revision .