public static function RESTServer::parseYAML in Services 6.3
File
- servers/
rest_server/ includes/ RESTServer.inc, line 466 - Class for handling REST calls.
Class
- RESTServer
- @file Class for handling REST calls.
Code
public static function parseYAML($handle) {
include_once _rest_server_get_spyc_location();
return Spyc::YAMLLoadString(self::contentFromStream($handle));
}