25 lines
821 B
YAML
25 lines
821 B
YAML
|
name: Base64MimeHeaderEncoder
|
||
|
class_comment: null
|
||
|
dependencies: []
|
||
|
properties: []
|
||
|
methods:
|
||
|
- name: encodeString
|
||
|
visibility: public
|
||
|
parameters:
|
||
|
- name: string
|
||
|
- name: charset
|
||
|
default: '''utf-8'''
|
||
|
- name: firstLineOffset
|
||
|
default: '0'
|
||
|
- name: maxLineLength
|
||
|
default: '0'
|
||
|
comment: "# * @author Chris Corbyn\n# */\n# final class Base64MimeHeaderEncoder\
|
||
|
\ extends Base64Encoder implements MimeHeaderEncoderInterface\n# {\n# public function\
|
||
|
\ getName(): string\n# {\n# return 'B';\n# }\n# \n# /**\n# * Takes an unencoded\
|
||
|
\ string and produces a Base64 encoded string from it.\n# *\n# * If the charset\
|
||
|
\ is iso-2022-jp, it uses mb_encode_mimeheader instead of\n# * default encodeString,\
|
||
|
\ otherwise pass to the parent method."
|
||
|
traits: []
|
||
|
interfaces:
|
||
|
- MimeHeaderEncoderInterface
|