original_string: public function attachImage($image)
      {
          $this->mms = true;
  
          if (is_array($image)) {
              $this->attachImages = array_merge($this->attachImages, $image);
          } else {
              $this->attachImages[] = $image;
          }
      }
code: public function attachImage($image)
      {
          $this->mms = true;
  
          if (is_array($image)) {
              $this->attachImages = array_merge($this->attachImages, $image);
          } else {
              $this->attachImages[] = $image;
          }
      }
code_tokens: public function attachImage ( $ image ) { $ this -> mms = true ; if ( is_array ( $ image ) ) { $ this -> attachImages = array_merge ( $ this -> attachImages , $ image ) ; } else { $ this -> attachImages [ ] = $ image ; } }
docstring: Attaches an image to a message.
  
  @param string $image Path to image.
docstring_tokens: Attaches an image to a message .