mirror of
https://github.com/wallabag/wallabag.git
synced 2024-06-16 20:20:38 +00:00
26 lines
615 B
PHP
26 lines
615 B
PHP
<?php
|
|
|
|
namespace Wallabag\CoreBundle\DependencyInjection;
|
|
|
|
use Symfony\Component\Config\Definition\Builder\TreeBuilder;
|
|
use Symfony\Component\Config\Definition\ConfigurationInterface;
|
|
|
|
class Configuration implements ConfigurationInterface
|
|
{
|
|
public function getConfigTreeBuilder()
|
|
{
|
|
$treeBuilder = new TreeBuilder();
|
|
$rootNode = $treeBuilder->root('wallabag_core');
|
|
|
|
$rootNode
|
|
->children()
|
|
->arrayNode('languages')
|
|
->prototype('scalar')->end()
|
|
->end()
|
|
->end()
|
|
;
|
|
|
|
return $treeBuilder;
|
|
}
|
|
}
|