PHP Class Flintstone\Formatter\SerializeFormatter

Inheritance: implements Flintstone\Formatter\FormatterInterface
Datei anzeigen Open project: fire015/flintstone

Public Methods

Method Description
decode ( $data )
encode ( $data )

Protected Methods

Method Description
preserveLines ( mixed $data, boolean $reverse ) : mixed Preserve new lines, recursive function.

Method Details

decode() public method

public decode ( $data )

encode() public method

public encode ( $data )

preserveLines() protected method

Preserve new lines, recursive function.
protected preserveLines ( mixed $data, boolean $reverse ) : mixed
$data mixed
$reverse boolean
return mixed