예제 #1
0
파일: GPXParser.php 프로젝트: Crayg/PHPGPX
 /**
  * @param SimpleXMLElement $xml
  * @return GPX
  * @throws InvalidGPXException
  */
 public function parseXML(SimpleXMLElement $xml)
 {
     $gpx = GPX::fromXML($xml);
     return $gpx;
 }