src/Manifest/YamlFormat.php
public function decode($data)
    {
        try {
            return Yaml::parse($data);
        }
        catch (ParseException $e) {
            printf("Unable to parse the YAML string: %s", $e->getMessage());
            return [];
        }
    }
public function decode($data)
    {
        try {
            return Yaml::parse($data);
        }
        catch (ParseException $e) {
            printf("Unable to parse the YAML string: %s", $e->getMessage());
            return [];
        }
    }
public function decode ( $ data ) { try { return Yaml :: parse ( $ data ) ; } catch ( ParseException $ e ) { printf ( "Unable to parse the YAML string: %s" , $ e -> getMessage ( ) ) ; return [ ] ; } }
Decodes the data that was loaded with read
@param  mixed $data  The data to decode
@return mixed        The decoded data
Decodes the data that was loaded with read