mirror of
https://github.com/netzmacht/contao-leaflet-maps.git
synced 2025-11-28 11:04:08 +01:00
Use Contao vendor namespace.
This commit is contained in:
@@ -14,8 +14,11 @@ declare(strict_types=1);
|
|||||||
|
|
||||||
namespace Netzmacht\Contao\Leaflet\Frontend;
|
namespace Netzmacht\Contao\Leaflet\Frontend;
|
||||||
|
|
||||||
use Database\Result;
|
use Contao\Config;
|
||||||
use Model\Collection;
|
use Contao\Database\Result;
|
||||||
|
use Contao\Input;
|
||||||
|
use Contao\Model;
|
||||||
|
use Contao\Model\Collection;
|
||||||
use Netzmacht\Contao\Leaflet\MapProvider;
|
use Netzmacht\Contao\Leaflet\MapProvider;
|
||||||
use Netzmacht\Contao\Leaflet\Model\MapModel;
|
use Netzmacht\Contao\Leaflet\Model\MapModel;
|
||||||
use Netzmacht\Contao\Toolkit\Component\Hybrid\AbstractHybrid;
|
use Netzmacht\Contao\Toolkit\Component\Hybrid\AbstractHybrid;
|
||||||
@@ -53,21 +56,21 @@ abstract class AbstractMapHybrid extends AbstractHybrid
|
|||||||
/**
|
/**
|
||||||
* HybridTrait constructor.
|
* HybridTrait constructor.
|
||||||
*
|
*
|
||||||
* @param Result|\Model|Collection $model Component model.
|
* @param Result|Model|Collection $model Component model.
|
||||||
* @param TemplateFactory $templateFactory Template factory.
|
* @param TemplateFactory $templateFactory Template factory.
|
||||||
* @param Translator $translator Translator.
|
* @param Translator $translator Translator.
|
||||||
* @param MapProvider $mapProvider Map provider.
|
* @param MapProvider $mapProvider Map provider.
|
||||||
* @param \Input $input Request Input.
|
* @param Input $input Request Input.
|
||||||
* @param \Config $config Config.
|
* @param Config $config Config.
|
||||||
* @param string $column Column in which the element appears.
|
* @param string $column Column in which the element appears.
|
||||||
*/
|
*/
|
||||||
public function __construct(
|
public function __construct(
|
||||||
$model,
|
$model,
|
||||||
TemplateFactory $templateFactory,
|
TemplateFactory $templateFactory,
|
||||||
Translator $translator,
|
Translator $translator,
|
||||||
MapProvider $mapProvider,
|
MapProvider $mapProvider,
|
||||||
\Input $input,
|
Input $input,
|
||||||
\Config $config,
|
Config $config,
|
||||||
$column = null
|
$column = null
|
||||||
) {
|
) {
|
||||||
parent::__construct($model, $templateFactory, $translator, $column);
|
parent::__construct($model, $templateFactory, $translator, $column);
|
||||||
|
|||||||
Reference in New Issue
Block a user