Example #1
0
 /**
  * Internal method for applying the settings from this MIME encoder to another
  * MIME encoder
  *
  * @param \r8\Transform\MIME $dest The encoder to apply the settings to
  * @return \r8\Transform\MIME Returns the input object
  */
 public function apply(\r8\Transform\MIME $dest)
 {
     $dest->setLineLength($this->getLineLength());
     $dest->setHeader($this->getHeader());
     $dest->setInputEncoding($this->getInputEncoding());
     $dest->setOutputEncoding($this->getOutputEncoding());
     $dest->setEOL($this->getEOL());
     return $dest;
 }