mirror of
https://github.com/netzmacht/contao-leaflet-maps.git
synced 2026-10-14 14:46:12 +02:00
Add parent to mapper handle method.
This commit is contained in:
1 parent
2496994759
commit
762e6b5dbc
19 files changed
+77
-42
No files matched your search
@@ -27,11 +27,18 @@ interface Mapper
|
||||
* @param \Model|mixed $model The model being built. Usually a contao model, but can be anything.
|
||||
* @param DefinitionMapper $mapper The definition builder.
|
||||
* @param LatLngBounds $bounds Optional bounds where elements should be in.
|
||||
* @param string $elementId Optional element id.
|
||||
* @param string $elementId Optional element.
|
||||
* @param Definition|null $parent Optional passed parent.
|
||||
*
|
||||
* @return Definition
|
||||
*/
|
||||
public function handle($model, DefinitionMapper $mapper, LatLngBounds $bounds = null, $elementId = null);
|
||||
public function handle(
|
||||
$model,
|
||||
DefinitionMapper $mapper,
|
||||
LatLngBounds $bounds = null,
|
||||
$elementId = null,
|
||||
Definition $parent = null
|
||||
);
|
||||
|
||||
/**
|
||||
* Check if mapper is responsible for the model.
|
||||
|
||||
Reference in new issue
Block a user