From: Raphaƫl Gertz Date: Tue, 26 Dec 2017 16:39:26 +0000 (+0100) Subject: Todo about configuration template X-Git-Tag: 0.0.1~17 X-Git-Url: https://git.rapsys.eu/packbundle/commitdiff_plain/1b429a27a4c125b1869dd05460f77c896264574c?hp=f25c5f291854b10f8786aca9c2e7c3df46b34261 Todo about configuration template --- diff --git a/DependencyInjection/Configuration.php b/DependencyInjection/Configuration.php index dd68944..2553598 100644 --- a/DependencyInjection/Configuration.php +++ b/DependencyInjection/Configuration.php @@ -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; } }