lib/classes/Swift/Mime/SimpleMimeEntity.php
public function setEncoder(Swift_Mime_ContentEncoder $encoder)
    {
        if ($encoder !== $this->encoder) {
            $this->clearCache();
        }

        $this->encoder = $encoder;
        $this->setEncoding($encoder->getName());
        $this->notifyEncoderChanged($encoder);

        return $this;
    }
public function setEncoder(Swift_Mime_ContentEncoder $encoder)
    {
        if ($encoder !== $this->encoder) {
            $this->clearCache();
        }

        $this->encoder = $encoder;
        $this->setEncoding($encoder->getName());
        $this->notifyEncoderChanged($encoder);

        return $this;
    }
public function setEncoder ( Swift_Mime_ContentEncoder $ encoder ) { if ( $ encoder !== $ this -> encoder ) { $ this -> clearCache ( ) ; } $ this -> encoder = $ encoder ; $ this -> setEncoding ( $ encoder -> getName ( ) ) ; $ this -> notifyEncoderChanged ( $ encoder ) ; return $ this ; }
Set the encoder used for the body of this entity.

@return $this
Set the encoder used for the body of this entity .