aboutsummaryrefslogblamecommitdiffhomepage
path: root/src/Wallabag/ApiBundle/DependencyInjection/Configuration.php
blob: f70a58358f51b31df5d04f11697de8925d31a64a (plain) (tree)
1
2
3
4
5
6
7
8
9







                                                               
                                                                                        












                                                                                                                                   


                            
<?php

namespace Wallabag\ApiBundle\DependencyInjection;

use Symfony\Component\Config\Definition\Builder\TreeBuilder;
use Symfony\Component\Config\Definition\ConfigurationInterface;

/**
 * This is the class that validates and merges configuration from your app/config files.
 *
 * To learn more see {@link http://symfony.com/doc/current/cookbook/bundles/extension.html#cookbook-bundles-extension-config-class}
 */
class Configuration implements ConfigurationInterface
{
    /**
     * {@inheritdoc}
     */
    public function getConfigTreeBuilder()
    {
        $treeBuilder = new TreeBuilder();
        $rootNode = $treeBuilder->root('wallabag_api');

        return $treeBuilder;
    }
}