Beispiel #1
0
 /**
  * @return array
  */
 public function testParseAndConvertToObject()
 {
     $filePath = "vendor/opengis/wfs/2.0.2/examples/GetCapabilities/GetCapabilities_Res_02.xml";
     $xml = file_get_contents($filePath);
     $rawArray = Parser::castXml($xml);
     $this->assertTrue(is_array($rawArray));
 }
Beispiel #2
0
 /**
  * @param $xml
  * @return array
  */
 public function convertXmlToSimpleArray($xml)
 {
     return Parser::convertXmlToSimpleArray($xml);
 }