1: <?php
2:
3: namespace Mapbender\WmtsBundle;
4:
5: use Mapbender\CoreBundle\Component\Layer;
6: use Mapbender\WmtsBundle\WmtsLayerLoader;
7:
8: class WmtsLayerFactory extends Layer {
9: public function getLayerClass() {
10: return "wmts";
11: }
12:
13: public function getType(){
14: return "wmts";
15: }
16:
17: public function create($name, array $configuration) {
18: return new WmtsLayeLoader($name, $configuration);
19: }
20: }
21:
22: