ContentEncoderInterface
interface ContentEncoderInterface implementsEncoderInterface
Methods
string
encodeString(string$string,string|null$charset ='utf-8',int$firstLineOffset =0,int$maxLineLength =0)
Encode a given string to produce an encoded string.
from EncoderInterface
iterable
encodeByteStream($stream,int$maxLineLength =0)
Encodes the stream to a Generator.
string
getName()
Gets the MIME name of this content encoding scheme.