original_string: protected function generateMessage($email, $message)
      {
          foreach ($message->getToWithCarriers() as $number) {
              $email->to($this->buildEmail($number, $message));
          }
  
          if ($message->getAttachImages()) {
              foreach ($message->getAttachImages() as $image) {
                  $email->attach($image);
              }
          }
  
          $email->from($message->getFrom());
  
          return $email;
      }
code: protected function generateMessage($email, $message)
      {
          foreach ($message->getToWithCarriers() as $number) {
              $email->to($this->buildEmail($number, $message));
          }
  
          if ($message->getAttachImages()) {
              foreach ($message->getAttachImages() as $image) {
                  $email->attach($image);
              }
          }
  
          $email->from($message->getFrom());
  
          return $email;
      }
code_tokens: protected function generateMessage ( $ email , $ message ) { foreach ( $ message -> getToWithCarriers ( ) as $ number ) { $ email -> to ( $ this -> buildEmail ( $ number , $ message ) ) ; } if ( $ message -> getAttachImages ( ) ) { foreach ( $ message -> getAttachImages ( ) as $ image ) { $ email -> attach ( $ image ) ; } } $ email -> from ( $ message -> getFrom ( ) ) ; return $ email ; }
docstring: Generates the Laravel Message Object.
  
  @param Illuminate\Mail\Message              $email
  @param SimpleSoftwareIO\SMS\OutgoingMessage $message
  
  @return Illuminate\Mail\Message
docstring_tokens: Generates the Laravel Message Object .