original_string: public function send($to, $subject, $message, $options)
      {
          if (!is_array($options)) {
              $options = array('from' => (string) $options);
          }
  
          settype($to, 'array');
  
          $result = null;
          $this->hook->attach('mail.send', $to, $subject, $message, $options, $result);
  
          if (isset($result)) {
              return $result;
          }
  
          return $this->mail($to, $subject, $message, $options);
      }
code: public function send($to, $subject, $message, $options)
      {
          if (!is_array($options)) {
              $options = array('from' => (string) $options);
          }
  
          settype($to, 'array');
  
          $result = null;
          $this->hook->attach('mail.send', $to, $subject, $message, $options, $result);
  
          if (isset($result)) {
              return $result;
          }
  
          return $this->mail($to, $subject, $message, $options);
      }
code_tokens: public function send ( $ to , $ subject , $ message , $ options ) { if ( ! is_array ( $ options ) ) { $ options = array ( 'from' => ( string ) $ options ) ; } settype ( $ to , 'array' ) ; $ result = null ; $ this -> hook -> attach ( 'mail.send' , $ to , $ subject , $ message , $ options , $ result ) ; if ( isset ( $ result ) ) { return $ result ; } return $ this -> mail ( $ to , $ subject , $ message , $ options ) ; }
docstring: Sends an e-mail
  @param string|array $to
  @param string $subject
  @param string $message
  @param array|string $options
  @return mixed
docstring_tokens: Sends an e - mail