Overview

Namespaces

  • Mapbender
    • Component
      • HTTP
    • CoreBundle
      • Command
      • Component
        • Exception
      • Controller
      • DataFixtures
        • ORM
      • DependencyInjection
      • Element
        • Type
      • Entity
      • EventListener
      • Extension
      • Form
        • DataTransformer
        • EventListener
        • Type
      • Security
      • Template
    • 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
        • Type
    • WmsBundle
      • Component
        • Exception
      • Controller
      • DependencyInjection
      • Element
        • Type
      • Entity
      • Event
      • Form
        • EventListener
        • Type
    • WmtsBundle
      • Component
        • Exception
      • Controller
      • Entity
      • Form
        • Type
  • None
  • PHP

Classes

  • MapbenderMonitoringExtension
  • Overview
  • Namespace
  • Class
  • Tree
  • Deprecated
  • Todo
  • Download
 1: <?php
 2: 
 3: namespace Mapbender\MonitoringBundle\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: class MapbenderMonitoringExtension extends Extension {
11:     public function load(array $configs, ContainerBuilder $container) {
12: 
13:         $loader = new XmlFileLoader($container,
14:             new FileLocator(__DIR__ . '/../Resources/config'));
15:         $loader->load('services.xml');
16:     }
17: 
18:     public function getAlias() {
19:         return 'mapbender_monitoring';
20:     }
21: }
22: 
23: 
Mapbender3 API documenation API documentation generated by ApiGen 2.8.0