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

33 lines
646 B
PHP
Raw Normal View History

2015-01-05 12:25:46 +01:00
<?php
/**
* @package dev
* @author David Molineus <david.molineus@netzmacht.de>
* @copyright 2015 netzmacht creative David Molineus
* @license LGPL 3.0
* @filesource
*
*/
namespace Netzmacht\Contao\Leaflet\Mapper\Control;
use Netzmacht\Contao\Leaflet\Mapper\AbstractTypeMapper;
class AbstractControlMapper extends AbstractTypeMapper
{
/**
* Class of the model being build.
*
* @var string
*/
protected static $modelClass = 'Netzmacht\Contao\Leaflet\Model\ControlModel';
/**
* {@inheritdoc}
*/
protected function initialize()
{
$this->addOption('position');
}
}