original_string: protected function buildAttachments($message)
      {
          foreach ($this->attachments as $attachment) {
              $message->attach($attachment['file'], $attachment['options']);
          }
  
          foreach ($this->rawAttachments as $attachment) {
              $message->attachData(
                  $attachment['data'], $attachment['name'], $attachment['options']
              );
          }
  
          $this->buildDiskAttachments($message);
  
          return $this;
      }
code: protected function buildAttachments($message)
      {
          foreach ($this->attachments as $attachment) {
              $message->attach($attachment['file'], $attachment['options']);
          }
  
          foreach ($this->rawAttachments as $attachment) {
              $message->attachData(
                  $attachment['data'], $attachment['name'], $attachment['options']
              );
          }
  
          $this->buildDiskAttachments($message);
  
          return $this;
      }
code_tokens: protected function buildAttachments ( $ message ) { foreach ( $ this -> attachments as $ attachment ) { $ message -> attach ( $ attachment [ 'file' ] , $ attachment [ 'options' ] ) ; } foreach ( $ this -> rawAttachments as $ attachment ) { $ message -> attachData ( $ attachment [ 'data' ] , $ attachment [ 'name' ] , $ attachment [ 'options' ] ) ; } $ this -> buildDiskAttachments ( $ message ) ; return $ this ; }
docstring: Add all of the attachments to the message.
  
  @param  \Illuminate\Mail\Message  $message
  @return $this
docstring_tokens: Add all of the attachments to the message .