fail("Unable to parse data : \n" . $data . "\nexception : " . $e->getMessage() . "\n"); } return $ret; } public function getAcceptMimeType() { return 'text/yaml'; } }