JBZoo\Data\Yml::_encode PHP Method

_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
    protected function _encode($data)
    {
        return Yaml::dump($data);
    }