src/PHPDish/Bundle/PaymentBundle/DependencyInjection/Configuration.php
public function getConfigTreeBuilder()
    {
        $treeBuilder = new TreeBuilder();
        $rootNode = $treeBuilder->root('phpdish_payment');

        $rootNode->children()
            ->arrayNode('youzan')
                ->children()
                    ->scalarNode('client_id')->cannotBeEmpty()->end()
                    ->scalarNode('client_secret')->cannotBeEmpty()->end()
                    ->scalarNode('kdt_id')->cannotBeEmpty()->end()
                ->end()
            ->end();

        $this->addResourcesSection($rootNode);
        $this->addTemplatesSection($rootNode);
        return $treeBuilder;
    }
public function getConfigTreeBuilder()
    {
        $treeBuilder = new TreeBuilder();
        $rootNode = $treeBuilder->root('phpdish_payment');

        $rootNode->children()
            ->arrayNode('youzan')
                ->children()
                    ->scalarNode('client_id')->cannotBeEmpty()->end()
                    ->scalarNode('client_secret')->cannotBeEmpty()->end()
                    ->scalarNode('kdt_id')->cannotBeEmpty()->end()
                ->end()
            ->end();

        $this->addResourcesSection($rootNode);
        $this->addTemplatesSection($rootNode);
        return $treeBuilder;
    }
{@inheritdoc}