original_string: public function getAttachments()
      {
          /** @noinspection IsEmptyFunctionUsageInspection */
          /** @noinspection PhpUndefinedMethodInspection */
          if (!empty(parent::getAttachments())) {
              /** @noinspection PhpUndefinedMethodInspection */
              return parent::getAttachments();
          }
  
          $attachments = $this->_storage->getAttachments($this);
  
          /** @noinspection PhpUndefinedMethodInspection */
          $this->setAttachments($attachments);
  
          return $attachments;
      }
code: public function getAttachments()
      {
          /** @noinspection IsEmptyFunctionUsageInspection */
          /** @noinspection PhpUndefinedMethodInspection */
          if (!empty(parent::getAttachments())) {
              /** @noinspection PhpUndefinedMethodInspection */
              return parent::getAttachments();
          }
  
          $attachments = $this->_storage->getAttachments($this);
  
          /** @noinspection PhpUndefinedMethodInspection */
          $this->setAttachments($attachments);
  
          return $attachments;
      }
code_tokens: public function getAttachments ( ) { /** @noinspection IsEmptyFunctionUsageInspection */ /** @noinspection PhpUndefinedMethodInspection */ if ( ! empty ( parent :: getAttachments ( ) ) ) { /** @noinspection PhpUndefinedMethodInspection */ return parent :: getAttachments ( ) ; } $ attachments = $ this -> _storage -> getAttachments ( $ this ) ; /** @noinspection PhpUndefinedMethodInspection */ $ this -> setAttachments ( $ attachments ) ; return $ attachments ; }
docstring: A mail can have zero to n associated attachments.
  An Attachment is a meta description to get information and access to binary data
  
  @return \Shockwavemk\Mail\Base\Model\Mail\Attachment[] Attachments
  @throws \Magento\Framework\Exception\MailException
docstring_tokens: A mail can have zero to n associated attachments . An Attachment is a meta description to get information and access to binary data