Add providers plugin.

This commit is contained in:
David Molineus
2014-12-29 16:19:43 +01:00
parent 633be6a2bc
commit 9059c74e62
4 changed files with 266 additions and 4 deletions

View File

@@ -0,0 +1,23 @@
<?php
/**
* @package dev
* @author David Molineus <david.molineus@netzmacht.de>
* @copyright 2014 netzmacht creative David Molineus
* @license LGPL 3.0
* @filesource
*
*/
namespace Netzmacht\Contao\Leaflet\Mapper;
abstract class AbstractLayerMapper extends AbstractMapper
{
protected static $type;
public function match(\Model $model)
{
return parent::match($model) && $model->type === static::$type;
}
}