original_string: protected function getItemAttributes(ItemInterface $item)
      {
          $result = $item->getAttributes();
  
          $result['id'] = $item->getId();
          $result['content'] = $item->getContent();
          $result['collection'] = $item->getCollection();
          $result['path'] = $item->getPath(ItemInterface::SNAPSHOT_PATH_RELATIVE);
  
          return $result;
      }
code: protected function getItemAttributes(ItemInterface $item)
      {
          $result = $item->getAttributes();
  
          $result['id'] = $item->getId();
          $result['content'] = $item->getContent();
          $result['collection'] = $item->getCollection();
          $result['path'] = $item->getPath(ItemInterface::SNAPSHOT_PATH_RELATIVE);
  
          return $result;
      }
code_tokens: protected function getItemAttributes ( ItemInterface $ item ) { $ result = $ item -> getAttributes ( ) ; $ result [ 'id' ] = $ item -> getId ( ) ; $ result [ 'content' ] = $ item -> getContent ( ) ; $ result [ 'collection' ] = $ item -> getCollection ( ) ; $ result [ 'path' ] = $ item -> getPath ( ItemInterface :: SNAPSHOT_PATH_RELATIVE ) ; return $ result ; }
docstring: Gets the attributes of an item.
  
  @param ItemInterface $item
  
  @return array
docstring_tokens: Gets the attributes of an item .