mirror of
https://github.com/netzmacht/contao-leaflet-maps.git
synced 2025-12-04 13:58:39 +01:00
24 lines
452 B
PHP
24 lines
452 B
PHP
|
|
<?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;
|
||
|
|
}
|
||
|
|
}
|