Browse code

Add Joblist skeletton for further development

Benjamin Roth authored on31/01/2023 08:55:26
Showing1 changed files
1 1
new file mode 100644
... ...
@@ -0,0 +1,42 @@
1
+<?php
2
+
3
+declare(strict_types=1);
4
+
5
+/*
6
+ * This file is part of alox bundle for Contao.
7
+ *
8
+ * (c) Benjamin Roth
9
+ *
10
+ * @license commercial
11
+ */
12
+
13
+namespace vossmedien\AloxBundle\DependencyInjection;
14
+
15
+use Symfony\Component\Config\Definition\Builder\TreeBuilder;
16
+use Symfony\Component\Config\Definition\ConfigurationInterface;
17
+
18
+class Configuration implements ConfigurationInterface
19
+{
20
+    public function getConfigTreeBuilder(): TreeBuilder
21
+    {
22
+        $treeBuilder = new TreeBuilder('vossmedien_alox');
23
+        $treeBuilder
24
+            ->getRootNode()
25
+            ->children()
26
+                ->arrayNode('zvoove')
27
+                    ->addDefaultsIfNotSet()
28
+                    ->children()
29
+                        ->scalarNode('api_key')
30
+                            ->info('Your zvoove API key.')
31
+                        ->end()
32
+                        ->scalarNode('api_domain')
33
+                            ->info('Your zvoove API domain.')
34
+                        ->end()
35
+                    ->end()
36
+                ->end()
37
+            ->end()
38
+        ;
39
+
40
+        return $treeBuilder;
41
+    }
42
+}