original_string: protected function addAttachments($mailMessage, $message)
      {
          foreach ($message->attachments as $attachment) {
              $mailMessage->attach($attachment['file'], $attachment['options']);
          }
  
          foreach ($message->rawAttachments as $attachment) {
              $mailMessage->attachData($attachment['data'], $attachment['name'], $attachment['options']);
          }
      }
code: protected function addAttachments($mailMessage, $message)
      {
          foreach ($message->attachments as $attachment) {
              $mailMessage->attach($attachment['file'], $attachment['options']);
          }
  
          foreach ($message->rawAttachments as $attachment) {
              $mailMessage->attachData($attachment['data'], $attachment['name'], $attachment['options']);
          }
      }
code_tokens: protected function addAttachments ( $ mailMessage , $ message ) { foreach ( $ message -> attachments as $ attachment ) { $ mailMessage -> attach ( $ attachment [ 'file' ] , $ attachment [ 'options' ] ) ; } foreach ( $ message -> rawAttachments as $ attachment ) { $ mailMessage -> attachData ( $ attachment [ 'data' ] , $ attachment [ 'name' ] , $ attachment [ 'options' ] ) ; } }
docstring: Add the attachments to the message.
  
  @param  \Illuminate\Mail\Message  $mailMessage
  @param  \Illuminate\Notifications\Messages\MailMessage  $message
  @return void
docstring_tokens: Add the attachments to the message .