3 namespace Wallabag\CoreBundle\DependencyInjection
;
5 use Symfony\Component\Config\Definition\Builder\TreeBuilder
;
6 use Symfony\Component\Config\Definition\ConfigurationInterface
;
8 class Configuration
implements ConfigurationInterface
10 public function getConfigTreeBuilder()
12 $treeBuilder = new TreeBuilder();
13 $rootNode = $treeBuilder->root('wallabag_core');
17 ->arrayNode('languages')
18 ->prototype('scalar')->end()
20 ->integerNode('items_on_page')
24 ->defaultValue('material')
26 ->scalarNode('language')
29 ->integerNode('rss_limit')
32 ->integerNode('reading_speed')
35 ->scalarNode('version')
37 ->scalarNode('paypal_url')