for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?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;
public function makeEmptyContent() {
return new GeoJsonContent( GeoJsonContent::newEmptyContentString() );