summaryrefslogtreecommitdiff
path: root/www/wiki/extensions/Maps/src/DataAccess/GeoJsonFetcherResult.php
blob: 7345b6494db77fd449a866cc03ec190a389d2e10 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
<?php

declare( strict_types = 1 );

namespace Maps\DataAccess;

class GeoJsonFetcherResult {

	private $content;
	private $revisionId;
	private $source;

	public function __construct( array $content, ?int $revisionId, ?\TitleValue $source ) {
		$this->content = $content;
		$this->revisionId = $revisionId;
		$this->source = $source;
	}

	public function getContent(): array {
		return $this->content;
	}

	public function getTitleValue(): ?\TitleValue {
		return $this->source;
	}

	public function getRevisionId(): ?int {
		return $this->revisionId;
	}

}