public static functionaddEncoder(ContentEncoderInterface $encoder) : void {
if (\in_array($encoder->getName(), self::DEFAULT_ENCODERS, true)) {
thrownewInvalidArgumentException('You are not allowed to change the default encoders ("quoted-printable", "base64", and "8bit").');
}
self::$encoders[$encoder->getName()] = $encoder;
}