original_string: public function sendEmail(EmailType $type)
      {
          $builder = $this->builder;
          $type->buildEmail($builder);
          $email = $builder->build(new SwiftEmail());
  
          $this->mailer->send($email->getMessage());
      }
code: public function sendEmail(EmailType $type)
      {
          $builder = $this->builder;
          $type->buildEmail($builder);
          $email = $builder->build(new SwiftEmail());
  
          $this->mailer->send($email->getMessage());
      }
code_tokens: public function sendEmail ( EmailType $ type ) { $ builder = $ this -> builder ; $ type -> buildEmail ( $ builder ) ; $ email = $ builder -> build ( new SwiftEmail ( ) ) ; $ this -> mailer -> send ( $ email -> getMessage ( ) ) ; }
docstring: Build and send a given type of email.
  
  @param EmailType $type
docstring_tokens: Build and send a given type of email .