<commit_before><?php

namespace Victoire\Bundle\CoreBundle\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('victoire_core');

        $rootNode
            ->children()
                ->scalarNode('user_class')->defaultNull()->end()
            ->end()
            ->children()
                ->scalarNode('cache_dir')->defaultValue('%kernel.cache_dir%/victoire/Entity')->end()
            ->end()
            ->children()
                ->variableNode('base_paths')
                ->defaultValue(array('%kernel.root_dir%/../src', '%kernel.root_dir%/../vendor/victoire/victoire/Bundle/BlogBundle'))
                ->end()
            ->end()
            ->children()
                ->variableNode('applicative_bundle')
                ->defaultNull()
                ->end()
            ->end()
            ->children()
                ->variableNode('templates')
                ->defaultValue(array('layout' => 'VictoireCoreBundle::layout.html.twig'))
                ->end()
            ->end()
            ->children()
                ->variableNode('layouts')
                ->defaultValue(array())
                ->end()
            ->end()
            ->children()
                ->arrayNode('widgets')
                    ->useAttributeAsKey(true)
                    ->prototype('array')
                        ->children()
                            ->scalarNode('class')->end()
                            ->scalarNode('name')->end()
                        ->end()
                    ->end()
                ->defaultValue(array())
                ->end()<commit_msg>load Businessentity from friends of victoire<commit_after><?php

namespace Victoire\Bundle\CoreBundle\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('victoire_core');

        $rootNode
            ->children()
                ->scalarNode('user_class')->defaultNull()->end()
            ->end()
            ->children()
                ->scalarNode('cache_dir')->defaultValue('%kernel.cache_dir%/victoire/Entity')->end()
            ->end()
            ->children()
                ->variableNode('base_paths')
                ->defaultValue(array('%kernel.root_dir%/../src','%kernel.root_dir%/../vendor/friendsofvictoire', '%kernel.root_dir%/../vendor/victoire/victoire/Bundle/BlogBundle'))
                ->end()
            ->end()
            ->children()
                ->variableNode('applicative_bundle')
                ->defaultNull()
                ->end()
            ->end()
            ->children()
                ->variableNode('templates')
                ->defaultValue(array('layout' => 'VictoireCoreBundle::layout.html.twig'))
                ->end()
            ->end()
            ->children()
                ->variableNode('layouts')
                ->defaultValue(array())
                ->end()
            ->end()
            ->children()
                ->arrayNode('widgets')
                    ->useAttributeAsKey(true)
                    ->prototype('array')
                        ->children()
                            ->scalarNode('class')->end()
                            ->scalarNode('name')->end()
                        ->end()
                    ->end()
                ->defaultValue(array())
                ->end()
{'fraction_non_alphanumeric': 0.147173266193637, 'fraction_numerical': 0.0, 'mean_word_length': 1.6136363636363635, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 93, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4888572', 'n_tokens_mistral': 1102, 'n_tokens_neox': 1042, 'n_words': 162}