Add parent to mapper handle method.

This commit is contained in:
David Molineus
2015-01-20 16:38:23 +01:00
parent 2496994759
commit 762e6b5dbc
19 changed files with 77 additions and 42 deletions

View File

@@ -53,8 +53,9 @@ class AttributionControlMapper extends AbstractControlMapper
protected function build(
Definition $definition,
\Model $model,
DefinitionMapper $builder,
LatLngBounds $bounds = null
DefinitionMapper $mapper,
LatLngBounds $bounds = null,
Definition $parent = null
) {
if (!$definition instanceof Attribution) {
return;

View File

@@ -69,7 +69,8 @@ class LoadingControlMapper extends AbstractControlMapper
Definition $definition,
\Model $model,
DefinitionMapper $mapper,
LatLngBounds $bounds = null
LatLngBounds $bounds = null,
Definition $parent = null
) {
parent::build($definition, $model, $mapper, $bounds);