Rename doBuild to build and introduce getClassName method.

This commit is contained in:
David Molineus
2015-01-08 09:51:43 +01:00
parent b3c0bd72df
commit 5cd680562d
14 changed files with 42 additions and 29 deletions

View File

@@ -51,7 +51,7 @@ class MapMapper extends AbstractMapper
/**
* @inheritdoc
*/
protected function doBuild(Definition $map, \Model $model, DefinitionMapper $builder, LatLngBounds $bounds = null)
protected function build(Definition $map, \Model $model, DefinitionMapper $builder, LatLngBounds $bounds = null)
{
if ($map instanceof Map && $model instanceof MapModel) {
$this->buildCustomOptions($map, $model);