Skip to content

Add version GPX #72

@otonielloliveira

Description

@otonielloliveira

Problem description

  1. Library version or last commit you have
  2. PHP version you use
  3. Detailed problem description

If you think that problem is connected with your file content, please attach it to the issue.

Code snippet you use

class phpGPX

$gpx->version = isset($xml['version']) ? (string)$xml['version'] : null;

class GpxFile 

	/**
	 * Version about the file.
	 * The original GPX 1.1 attribute.
	 * @var Version|null
	 */
	public $version;
	
	$this->version = null;
	
	'version' => SerializationHelper::stringOrNull($this->version),

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions