Interface for all Header Encoding schemes.

package Swift
subpackage Mime
author Chris Corbyn

 Methods

Notify this observer that the entity's charset has changed.

charsetChanged(string $charset) 
Inherited
inherited_from \Swift_Mime_CharsetObserver::charsetChanged()
inherited_from \Swift_Encoder::charsetChanged()

Parameters

$charset

string

Encode a given string to produce an encoded string.

encodeString(string $string, int $firstLineOffset, int $maxLineLength) : string
Inherited
inherited_from \Swift_Encoder::encodeString()

Parameters

$string

string

$firstLineOffset

int

if first line needs to be shorter

$maxLineLength

int
  • 0 indicates the default length for this encoding

Returns

string

Get the MIME name of this content encoding scheme.

getName() : string

Returns

string