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

@@ -70,7 +70,7 @@ class ProviderLayerMapper extends AbstractLayerMapper
/**
* {@inheritdoc}
*/
protected function doBuild(Definition $definition, \Model $model, DefinitionMapper $builder, LatLngBounds $bounds = null)
protected function build(Definition $definition, \Model $model, DefinitionMapper $builder, LatLngBounds $bounds = null)
{
if (!empty($this->providers[$model->tile_provider]['options'])) {
$this->applyOptions(