Exemple #1
0
 /**
  * @param SimpleXMLElement $xml
  * @return GPX
  * @throws InvalidGPXException
  */
 public function parseXML(SimpleXMLElement $xml)
 {
     $gpx = GPX::fromXML($xml);
     return $gpx;
 }