]> Raphaël G. Git Repositories - packbundle/commitdiff
Todo about configuration template
authorRaphaël Gertz <git@rapsys.eu>
Tue, 26 Dec 2017 16:39:26 +0000 (17:39 +0100)
committerRaphaël Gertz <git@rapsys.eu>
Tue, 26 Dec 2017 16:39:26 +0000 (17:39 +0100)
DependencyInjection/Configuration.php

index dd68944fcb22e3cbcd896f0826c6406388b258d2..255359878c3cfc85730ed8040ea7237dcd4600bf 100644 (file)
@@ -24,6 +24,18 @@ class Configuration implements ConfigurationInterface
         // configure your bundle. See the documentation linked above for
         // more information on that topic.
 
+       //TODO: see https://github.com/symfony/symfony/blob/master/src/Symfony/Bundle/FrameworkBundle/DependencyInjection/Configuration.php for default value and description
+       //TODO: see http://symfony.com/doc/current/components/config/definition.html
+       //TODO: use bin/console config:dump-reference to dump class infos
+       $rootNode
+               ->children()
+                       ->scalarNode('jpack')->end()
+                       ->scalarNode('cpack')->end()
+                       ->scalarNode('prefix')->end()
+                       ->scalarNode('scheme')->end()
+                       ->integerNode('timeout')->end()
+               ->end();
+
         return $treeBuilder;
     }
 }