]> git.immae.eu Git - github/wallabag/wallabag.git/blob - src/Wallabag/CommentBundle/DependencyInjection/WallabagCommentExtension.php
Comment work with annotator v2
[github/wallabag/wallabag.git] / src / Wallabag / CommentBundle / DependencyInjection / WallabagCommentExtension.php
1 <?php
2
3 namespace Wallabag\CommentBundle\DependencyInjection;
4
5 use Symfony\Component\DependencyInjection\ContainerBuilder;
6 use Symfony\Component\Config\FileLocator;
7 use Symfony\Component\HttpKernel\DependencyInjection\Extension;
8 use Symfony\Component\DependencyInjection\Loader;
9
10 class WallabagCommentExtension extends Extension
11 {
12 /**
13 * {@inheritdoc}
14 */
15 public function load(array $configs, ContainerBuilder $container)
16 {
17 $configuration = new Configuration();
18 $config = $this->processConfiguration($configuration, $configs);
19
20 $loader = new Loader\YamlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config'));
21 $loader->load('services.yml');
22 }
23 }