original_string: public function setAttachments($attachments) {
          /** @var AttachmentInterface $attachment */
          foreach ($attachments as $attachment) {
              $attachment->setMail($this);
          }
  
          $this->setData('attachments', $attachments);
  
          return $this;
      }
code: public function setAttachments($attachments) {
          /** @var AttachmentInterface $attachment */
          foreach ($attachments as $attachment) {
              $attachment->setMail($this);
          }
  
          $this->setData('attachments', $attachments);
  
          return $this;
      }
code_tokens: public function setAttachments ( $ attachments ) { /** @var AttachmentInterface $attachment */ foreach ( $ attachments as $ attachment ) { $ attachment -> setMail ( $ this ) ; } $ this -> setData ( 'attachments' , $ attachments ) ; return $ this ; }
docstring: Set reverse link on each attached entity
  
  @var $attachments AttachmentInterface[]
docstring_tokens: Set reverse link on each attached entity