<commit_before>services:
    Enhavo\Bundle\ArticleBundle\Form\Type\ArticleType:
        arguments:
            - '%enhavo_article.model.article.class%'
            - [default]
        tags:
            - { name: form.type, alias: enhavo_article_article }

    enhavo_article.extend_listener.article:
        class: Enhavo\Bundle\AppBundle\EventListener\DoctrineExtendListener
        arguments:
            - Enhavo\Bundle\ArticleBundle\Entity\Article
            - '%enhavo_article.model.article.class%'
            - true
        tags:
            - { name: doctrine.event_subscriber, connection: default }

    Enhavo\Bundle\ArticleBundle\Menu\ArticleRootMenuType:
        parent: Enhavo\Bundle\AppBundle\Menu\Menu\ListMenu
        tags:
            - { name: enhavo.menu, alias: article }

    Enhavo\Bundle\ArticleBundle\Menu\ArticleMenuType:
        parent: Enhavo\Bundle\AppBundle\Menu\Menu\BaseMenu
        tags:
            - { name: enhavo.menu, alias: article_article }

    Enhavo\Bundle\ArticleBundle\Menu\TagMenuType:
        parent: Enhavo\Bundle\AppBundle\Menu\Menu\BaseMenu
        tags:
            - { name: enhavo.menu, alias: article_tag }

    Enhavo\Bundle\ArticleBundle\Menu\CategoryMenuType:
        parent: Enhavo\Bundle\AppBundle\Menu\Menu\BaseMenu
        tags:
            - { name: enhavo.menu, alias: article_category }

    enhavo_article.statistic.article:
        class: Enhavo\Bundle\ArticleBundle\Statistic\ArticleStatistic
        calls:
          - ['setContainer', ['@service_container']]
        tags:
            - { name: enhavo.statistic, alias: article }

    Enhavo\Bundle\ArticleBundle\Block\ArticleListBlockType:
        public: true
        calls:
            - [setContainer, ['@service_container']]
        tags:
            - { name: enhavo.block, alias: article_list }

    Enhavo\Bundle\ArticleBundle\Block\ArticleTeaserBlockType:
        public: true
        calls:
            - [setContainer, ['@service_container']]
        tags:
            - { name: enhavo.block, alias: article_teaser }

    Enhavo\Bundle\ArticleBundle\Widget\ArticleListType:
        public: true
        arguments:
            - '@enhavo_article.repository.article'
            - '@request_stack'
        tags:
            - { name: enhavo.widget, alias: article_list }

    Enhavo\Bundle\ArticleBundle\Controller\ArticleController:
        public: true
        arguments:
            - '@Enhavo\Bundle\CommentBundle\Comment\CommentManager'
        calls:
            - [setContainer, ['@service_container']]

    enhavo_article.factory.article:
        public: true
        class: '%enhavo_article.factory.article.class%'
        arguments:
            - '%enhavo_article.model.article.class%'
            - '@enhavo_block.factory.node'
            - '@Enhavo\Bundle\RoutingBundle\Factory\RouteFactory'
            - '@enhavo_media.factory.file'
<commit_msg>add unique attribute to PrefixGenerator<commit_after>services:
    Enhavo\Bundle\ArticleBundle\Form\Type\ArticleType:
        arguments:
            - '%enhavo_article.model.article.class%'
            - [default]
        tags:
            - { name: form.type, alias: enhavo_article_article }

    enhavo_article.extend_listener.article:
        class: Enhavo\Bundle\AppBundle\EventListener\DoctrineExtendListener
        arguments:
            - Enhavo\Bundle\ArticleBundle\Entity\Article
            - '%enhavo_article.model.article.class%'
            - true
        tags:
            - { name: doctrine.event_subscriber, connection: default }

    Enhavo\Bundle\ArticleBundle\Menu\ArticleRootMenuType:
        parent: Enhavo\Bundle\AppBundle\Menu\Menu\ListMenu
        tags:
            - { name: enhavo.menu, alias: article }

    Enhavo\Bundle\ArticleBundle\Menu\ArticleMenuType:
        parent: Enhavo\Bundle\AppBundle\Menu\Menu\BaseMenu
        tags:
            - { name: enhavo.menu, alias: article_article }

    Enhavo\Bundle\ArticleBundle\Menu\TagMenuType:
        parent: Enhavo\Bundle\AppBundle\Menu\Menu\BaseMenu
        tags:
            - { name: enhavo.menu, alias: article_tag }

    Enhavo\Bundle\ArticleBundle\Menu\CategoryMenuType:
        parent: Enhavo\Bundle\AppBundle\Menu\Menu\BaseMenu
        tags:
            - { name: enhavo.menu, alias: article_category }

    enhavo_article.statistic.article:
        class: Enhavo\Bundle\ArticleBundle\Statistic\ArticleStatistic
        calls:
          - ['setContainer', ['@service_container']]
        tags:
            - { name: enhavo.statistic, alias: article }

    Enhavo\Bundle\ArticleBundle\Block\ArticleListBlockType:
        public: true
        calls:
            - [setContainer, ['@service_container']]
        tags:
            - { name: enhavo.block, alias: article_list }

    Enhavo\Bundle\ArticleBundle\Block\ArticleTeaserBlockType:
        public: true
        calls:
            - [setContainer, ['@service_container']]
        tags:
            - { name: enhavo.block, alias: article_teaser }

    Enhavo\Bundle\ArticleBundle\Widget\ArticleListType:
        public: true
        arguments:
            - '@enhavo_article.repository.article'
            - '@request_stack'
        tags:
            - { name: enhavo.widget, alias: article_list }

    Enhavo\Bundle\ArticleBundle\Controller\ArticleController:
        public: true
        arguments:
            - '@Enhavo\Bundle\CommentBundle\Comment\CommentManager'
        calls:
            - [setContainer, ['@service_container']]

    enhavo_article.factory.article:
        public: true
        class: '%enhavo_article.factory.article.class%'
        arguments:
            - '%enhavo_article.model.article.class%'
            - '@enhavo_block.factory.node'
            - '@enhavo_routing.factory.route'
            - '@enhavo_media.factory.file'

{'fraction_non_alphanumeric': 0.1048080249048772, 'fraction_numerical': 0.0, 'mean_word_length': 2.1514986376021796, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '4012952', 'n_tokens_mistral': 1717, 'n_tokens_neox': 1670, 'n_words': 236}