original_string: protected function loadMailer()
      {
          $this->mailTarget = false;
  
          if (isset($this->formData['gct_target']) && isset($this->mailTargets[$this->formData['gct_target']])) {
              $this->mailTarget = $this->formData['gct_target'];
          } else {
              reset($this->mailTargets);
              $this->mailTarget = key($this->mailTargets);
          }
          $this->mailer = $this->loader->getMailLoader()->getMailer($this->mailTarget);
      }
code: protected function loadMailer()
      {
          $this->mailTarget = false;
  
          if (isset($this->formData['gct_target']) && isset($this->mailTargets[$this->formData['gct_target']])) {
              $this->mailTarget = $this->formData['gct_target'];
          } else {
              reset($this->mailTargets);
              $this->mailTarget = key($this->mailTargets);
          }
          $this->mailer = $this->loader->getMailLoader()->getMailer($this->mailTarget);
      }
code_tokens: protected function loadMailer ( ) { $ this -> mailTarget = false ; if ( isset ( $ this -> formData [ 'gct_target' ] ) && isset ( $ this -> mailTargets [ $ this -> formData [ 'gct_target' ] ] ) ) { $ this -> mailTarget = $ this -> formData [ 'gct_target' ] ; } else { reset ( $ this -> mailTargets ) ; $ this -> mailTarget = key ( $ this -> mailTargets ) ; } $ this -> mailer = $ this -> loader -> getMailLoader ( ) -> getMailer ( $ this -> mailTarget ) ; }
docstring: Loads the correct mailer
docstring_tokens: Loads the correct mailer