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

@@ -35,13 +35,13 @@ class PolylineMapper extends AbstractVectorMapper
protected static $type = 'polyline';
protected function doBuild(
protected function build(
Definition $definition,
\Model $model,
DefinitionMapper $builder,
LatLngBounds $bounds = null
) {
parent::doBuild($definition, $model, $builder, $bounds);
parent::build($definition, $model, $builder, $bounds);
if ($definition instanceof Polyline) {
array_map(