summaryrefslogtreecommitdiff
path: root/www/wiki/extensions/Maps/src/MediaWiki/Content/GeoJsonContentHandler.php
blob: b192a9c3aa8387dc5797b0416766bd1ec2f0757c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<?php

namespace Maps\MediaWiki\Content;

class GeoJsonContentHandler extends \JsonContentHandler {

	public function __construct( $modelId = GeoJsonContent::CONTENT_MODEL_ID ) {
		parent::__construct( $modelId );
	}

	protected function getContentClass() {
		return GeoJsonContent::class;
	}

}