Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add version GPX #72

Open
otonielloliveira opened this issue Apr 24, 2024 · 0 comments
Open

Add version GPX #72

otonielloliveira opened this issue Apr 24, 2024 · 0 comments

Comments

@otonielloliveira
Copy link

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),
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant