Completed
Push — vishual ( d59998...76954d )
by Jeroen De
16:58 queued 07:00
created

GeoJsonContentHandler   A

Complexity

Total Complexity 3

Size/Duplication

Total Lines 18
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

Changes 0
Metric Value
wmc 3
lcom 0
cbo 0
dl 0
loc 18
rs 10
c 0
b 0
f 0

3 Methods

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 3 1
A getContentClass() 0 3 1
A getActionOverrides() 0 5 1
1
<?php
2
3
namespace Maps\GeoJson;
4
5
use EditAction;
6
7
class GeoJsonContentHandler extends \JsonContentHandler {
8
9
	public function __construct( $modelId = GeoJsonContent::CONTENT_MODEL_ID ) {
10
		parent::__construct( $modelId );
11
	}
12
13
	protected function getContentClass() {
14
		return GeoJsonContent::class;
15
	}
16
17
	public function getActionOverrides() {
18
		return [
19
			//'edit' => EditAction::class,
20
		];
21
	}
22
23
24
}