Simplify getting of class name.

This commit is contained in:
David Molineus committed 2015-01-22 11:59:19 +01:00
1 parent 25d4dace71
commit b65bcbff9f
5 files changed
+5 -40

No files matched your search

@@ -26,13 +26,6 @@ use Netzmacht\LeafletPHP\Plugins\Loading\SpinJsLoadingControl;
*/
class LoadingControlMapper extends AbstractControlMapper
{
/**
* Class of the definition being created.
*
* @var string
*/
protected static $definitionClass = 'Netzmacht\LeafletPHP\Plugins\Loading\LoadingControl';
/**
* Layer type.
*
@@ -49,7 +42,7 @@ class LoadingControlMapper extends AbstractControlMapper
return 'Netzmacht\LeafletPHP\Plugins\Loading\SpinJsLoadingControl';
}
return parent::getClassName($model, $mapper, $bounds);
return 'Netzmacht\LeafletPHP\Plugins\Loading\LoadingControl';
}
/**