PHP Class JBZoo\Data\Yml

Inheritance: extends Data
Show file Open project: jbzoo/data

Protected Methods

Method Description
_decode ( string $string ) : mixed Utility Method to unserialize the given data
_encode ( mixed $data ) : string Utility Method to serialize the given data

Method Details

_decode() protected method

Utility Method to unserialize the given data
protected _decode ( string $string ) : mixed
$string string
return mixed

_encode() protected method

Utility Method to serialize the given data
protected _encode ( mixed $data ) : string
$data mixed The data to serialize
return string The serialized data