We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fe37532 commit d3ac383Copy full SHA for d3ac383
DependencyInjection/HalloVerdenHttpExceptionsExtension.php
@@ -0,0 +1,23 @@
1
+<?php
2
+
3
4
+namespace HalloVerden\HttpExceptionsBundle\DependencyInjection;
5
6
7
+use Symfony\Component\DependencyInjection\ContainerBuilder;
8
+use Symfony\Component\DependencyInjection\Extension\Extension;
9
+use Symfony\Component\DependencyInjection\Loader\YamlFileLoader;
10
+use Symfony\Component\Config\FileLocator;
11
12
+class HalloVerdenHttpExceptionsExtension extends Extension {
13
14
+ /**
15
+ * @inheritDoc
16
+ * @throws \Exception
17
+ */
18
+ public function load(array $configs, ContainerBuilder $container) {
19
+ $loader = new YamlFileLoader($container, new FileLocator(__DIR__ . '/../Resources/config'));
20
+ $loader->load('services.yaml');
21
+ }
22
23
+}
0 commit comments