Completed
Push — styling ( 65b228 )
by Jeroen De
04:06
created

GeoJsonFetcherResult::getContent()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 2
CRAP Score 1

Importance

Changes 0
Metric Value
dl 0
loc 3
ccs 2
cts 2
cp 1
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 0
crap 1
1
<?php
2
3
declare( strict_types = 1 );
4
5
namespace Maps\DataAccess;
6
7
class GeoJsonFetcherResult {
8
9
	private $content;
10
	private $source;
11
12 2
	public function __construct( array $content, ?\TitleValue $source ) {
13 2
		$this->content = $content;
14 2
		$this->source = $source;
15 2
	}
16
17 2
	public function getContent(): array {
18 2
		return $this->content;
19
	}
20
21 2
	public function getTitleValue(): ?\TitleValue {
22 2
		return $this->source;
23
	}
24
25
}
26