SerializeFormatter
class SerializeFormatter implements FormatterInterface
Methods
string
encode(mixed $data)
Encode data into a string.
mixed
decode(string $data)
Decode a string into data.
mixed
preserveLines(mixed $data, bool $reverse)
Preserve new lines, recursive function.
Details
at line 10
string
encode(mixed $data)
Encode data into a string.
at line 18
mixed
decode(string $data)
Decode a string into data.
at line 31
protected mixed
preserveLines(mixed $data, bool $reverse)
Preserve new lines, recursive function.