Overview

Namespaces

  • Mapbender
    • Component
      • HTTP
    • CoreBundle
      • Command
      • Component
        • Exception
      • Controller
      • DataFixtures
        • ORM
      • DependencyInjection
      • Element
        • Type
      • Entity
      • EventListener
      • Extension
      • Form
        • DataTransformer
        • EventListener
        • Type
      • Security
      • Template
    • DrupalIntegrationBundle
      • DependencyInjection
      • Security
        • Authentication
          • Provider
          • Token
        • Authorization
          • Voter
        • Factory
        • Firewall
        • User
      • Session
    • KmlBundle
      • Element
    • ManagerBundle
      • Controller
      • Form
        • DataTransformer
        • Type
    • MonitoringBundle
      • Command
      • Component
      • Controller
      • DependencyInjection
      • Entity
      • EventListener
      • Form
    • PrintBundle
      • Component
      • Controller
    • WmcBundle
      • Component
        • Exception
      • Element
        • Type
      • Entity
      • Form
        • EventListener
        • Type
    • WmsBundle
      • Component
        • Exception
      • Controller
      • DependencyInjection
      • Element
        • Type
      • Entity
      • Event
      • Form
        • EventListener
        • Type
    • WmtsBundle
      • Component
        • Exception
      • Controller
      • Entity
      • Form
        • Type
  • None
  • PHP

Classes

  • MapbenderWmsExtension
  • Overview
  • Namespace
  • Class
  • Tree
  • Deprecated
  • Todo
  • Download
 1: <?php
 2: 
 3: namespace Mapbender\WmsBundle\DependencyInjection;
 4: 
 5: use Symfony\Component\Config\FileLocator;
 6: use Symfony\Component\DependencyInjection\ContainerBuilder;
 7: use Symfony\Component\DependencyInjection\Loader\XmlFileLoader;
 8: use Symfony\Component\HttpKernel\DependencyInjection\Extension;
 9: 
10: /**
11:  * Mapbender WMS extension loader
12:  *
13:  * @author Christian Wygoda
14:  */
15: class MapbenderWmsExtension
16:         extends Extension
17: {
18: 
19:     /**
20:      * 
21:      * @param array $configs
22:      * @param \Symfony\Component\DependencyInjection\ContainerBuilder $container
23:      */
24:     public function load(array $configs, ContainerBuilder $container)
25:     {
26:         $loader = new XmlFileLoader($container, new FileLocator(__DIR__ . '/../Resources/config'));
27:         $loader->load('services.xml');
28:     }
29: 
30:     /**
31:      * @inheritdoc
32:      */
33:     public function getAlias()
34:     {
35:         return 'mapbender_wms';
36:     }
37: 
38: }
39: 
40: 
Mapbender3 API documenation API documentation generated by ApiGen 2.8.0