Files
contao-leaflet-maps/src/Netzmacht/Contao/Leaflet/Mapper/AbstractLayerMapper.php

24 lines
452 B
PHP
Raw Normal View History

2014-12-29 16:19:43 +01:00
<?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;
}
}