EncoderInterface
in
Tags
Table of Contents
Methods
- encodeString() : string
- Encode a given string to produce an encoded string.
Methods
encodeString()
Encode a given string to produce an encoded string.
public
encodeString(string $string[, string|null $charset = 'utf-8' ][, int $firstLineOffset = 0 ][, int $maxLineLength = 0 ]) : string
Parameters
- $string : string
- $charset : string|null = 'utf-8'
- $firstLineOffset : int = 0
-
if first line needs to be shorter
- $maxLineLength : int = 0
-
- 0 indicates the default length for this encoding