original_string: public function getActionsAttribute()
      {
          if (!$this->relationLoaded('actions')) {
              $this->load('actions');
          }
  
          return $this->getRelation('actions')->load('revisioned')->map(function ($revision) {
              if ($revisioned = $revision->revisioned) {
                  return $revisioned->wrapRevision($revision);
              }
  
              return $revision;
          });
      }
code: public function getActionsAttribute()
      {
          if (!$this->relationLoaded('actions')) {
              $this->load('actions');
          }
  
          return $this->getRelation('actions')->load('revisioned')->map(function ($revision) {
              if ($revisioned = $revision->revisioned) {
                  return $revisioned->wrapRevision($revision);
              }
  
              return $revision;
          });
      }
code_tokens: public function getActionsAttribute ( ) { if ( ! $ this -> relationLoaded ( 'actions' ) ) { $ this -> load ( 'actions' ) ; } return $ this -> getRelation ( 'actions' ) -> load ( 'revisioned' ) -> map ( function ( $ revision ) { if ( $ revisioned = $ revision -> revisioned ) { return $ revisioned -> wrapRevision ( $ revision ) ; } return $ revision ; } ) ; }
docstring: Accessor for actions property.
  
  @return \Illuminate\Database\Eloquent\Collection
docstring_tokens: Accessor for actions property .