<commit_before><?xml version="1.0" ?>

<container xmlns="http://symfony.com/schema/dic/services"
           xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
           xsi:schemaLocation="http://symfony.com/schema/dic/services http://symfony.com/schema/dic/services/services-1.0.xsd">

    <parameters>

        <parameter key="black_user.infrastructure.persistence.user_read.class">Black\User\Infrastructure\Persistence\CQRS\ReadRepository</parameter>
        <parameter key="black_user.infrastructure.persistence.user_write.class">Black\User\Infrastructure\Persistence\CQRS\WriteRepository</parameter>

        <parameter key="black_user.infrastructure.cqrs.handler.connect.class">Black\User\Infrastructure\CQRS\Handler\ConnectUserHandler</parameter>
        <parameter key="black_user.infrastructure.cqrs.handler.active.class">Black\User\Infrastructure\CQRS\Handler\ActiveUserHandler</parameter>
        <parameter key="black_user.infrastructure.cqrs.handler.disable.class">Black\User\Infrastructure\CQRS\Handler\DisableUserHandler</parameter>
        <parameter key="black_user.infrastructure.cqrs.handler.lock.class">Black\User\Infrastructure\CQRS\Handler\LockUserHandler</parameter>
        <parameter key="black_user.infrastructure.cqrs.handler.unlock.class">Black\User\Infrastructure\CQRS\Handler\UnlockUserHandler</parameter>
        <parameter key="black_user.infrastructure.cqrs.handler.create.class">Black\User\Infrastructure\CQRS\Handler\CreateUserHandler</parameter>
        <parameter key="black_user.infrastructure.cqrs.handler.update_account.class">Black\User\Infrastructure\CQRS\Handler\UpdateAccountHandler</parameter>
        <parameter key="black_user.infrastructure.cqrs.handler.update_password.class">Black\User\Infrastructure\CQRS\Handler\UpdatePasswordHandler</parameter>
        <parameter key="black_user.infrastructure.cqrs.handler.register.class">Black\User\Infrastructure\CQRS\Handler\RegisterUserHandler</parameter>
        <parameter key="black_user.infrastructure.cqrs.handler.remove.class">Black\User\Infrastructure\CQRS\Handler\RemoveUserHandler</parameter>
    </parameters>

    <services>

        <service
                id="black_user.infrastructure.persistence.user_read"
                class="%black_user.infrastructure.persistence.user_read.class%"
                public="false">
            <argument type="service" id="black_user.infrastructure.persistence.orm" />
        </service>

        <service
                id="black_user.infrastructure.persistence.user_write"
                class="%black_user.infrastructure.persistence.user_write.class%"
                public="false">
            <argument type="service" id="black_user.infrastructure.persistence.orm" />
        </service>

        <service id="black_user.persistence.user_read" alias="black_user.infrastructure.persistence.user_read" />
        <service id="black_user.persistence.user_write" alias="black_user.infrastructure.persistence.user_write" />

        <service id="black_user.infrastructure.cqrs.handler.connect" class="%black_user.infrastructure.cqrs.handler.connect.class%">
            <argument type="service" id="black_user.persistence.user_write" />
            <argument type="service" id="black_user.infrastructure.service.status" />
            <argument type="service" id="event_dispatcher" />
        </service>

        <service id="black_user.infrastructure.cqrs.handler.active" class="%black_user.infrastructure.cqrs.handler.active.class%">
            <argument type="service" id="black_user.persistence.user_write" />
            <argument type="service" id="black_user.infrastructure.service.status" />
            <argument type="service" id="event_dispatcher" />
        </service>

        <service id="black_user.infrastructure.cqrs.handler.disable" class="%black_user.infrastructure.cqrs.handler.disable.class%">
            <argument type="service" id="black_user.persistence.user_write" />
            <argument type="service" id="black_user.infrastructure.service.status" />
            <argument type="service" id="event_dispatcher" />
        </service>

        <service id="black_user.infrastructure.cqrs.handler.lock" class="%black_user.infrastructure.cqrs.handler.lock.class%">
            <argument type="service" id="black_user.persistence.user_write" />
            <argument type="service" id="black_user.infrastructure.service.status" />
            <argument type="service" id="event_dispatcher" />
        </service>

        <service id="black_user.infrastructure.cqrs.handler.unlock" class="%black_user.infrastructure.cqrs.handler.unlock.class%">
            <argument type="service" id="black_user.persistence.user_write" />
            <argument type="service" id="black_user.infrastructure.service.status" />
            <argument type="service" id="event_dispatcher" />
        </service>

        <service id="black_user.infrastructure.cqrs.handler.create" class="%black_user.infrastructure.cqrs.handler.create.class%">
            <argument type="service" id="black_user.persistence.user_write" />
            <argument type="service" id="black_user.infrastructure.service.register" />
            <argument type="service" id="event_dispatcher" />
        </service>

        <service id="black_user.infrastructure.cqrs.handler.update_account" class="%black_user.infrastructure.cqrs.handler.update_account.class%">
            <argument type="service" id="black_user.persistence.user_write" />
            <argument type="service" id="black_user.infrastructure.service.write" />
            <argument type="service" id="event_dispatcher" />
        </service>

        <service id="black_user.infrastructure.cqrs.handler.update_password" class="%black_user.infrastructure.cqrs.handler.update_password.class%">
            <argument type="service" id="black_user.persistence.user_write" />
            <argument type="service" id="black_user.infrastructure.service.write" />
            <argument type="service" id="event_dispatcher" />
        </service>

        <service id="black_user.infrastructure.cqrs.handler.register" class="%black_user.infrastructure.cqrs.handler.register.class%">
            <argument type="service" id="black_user.persistence.user_write" />
            <argument type="service" id="black_user.infrastructure.service.register" />
        </service>

        <service id="black_user.infrastructure.cqrs.handler.remove" class="%black_user.infrastructure.cqrs.handler.remove.class%">
            <argument type="service" id="black_user.persistence.user_read" />
            <argument type="service" id="black_user.persistence.user_write" />
            <argument type="service" id="event_dispatcher" />
        </service>

    </services>
</container><commit_msg>Tag handler for CQRS<commit_after><?xml version="1.0" ?>

<container xmlns="http://symfony.com/schema/dic/services"
           xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
           xsi:schemaLocation="http://symfony.com/schema/dic/services http://symfony.com/schema/dic/services/services-1.0.xsd">

    <parameters>

        <parameter key="black_user.infrastructure.persistence.user_read.class">Black\User\Infrastructure\Persistence\CQRS\ReadRepository</parameter>
        <parameter key="black_user.infrastructure.persistence.user_write.class">Black\User\Infrastructure\Persistence\CQRS\WriteRepository</parameter>

        <parameter key="black_user.infrastructure.cqrs.handler.connect.class">Black\User\Infrastructure\CQRS\Handler\ConnectUserHandler</parameter>
        <parameter key="black_user.infrastructure.cqrs.handler.active.class">Black\User\Infrastructure\CQRS\Handler\ActiveUserHandler</parameter>
        <parameter key="black_user.infrastructure.cqrs.handler.disable.class">Black\User\Infrastructure\CQRS\Handler\DisableUserHandler</parameter>
        <parameter key="black_user.infrastructure.cqrs.handler.lock.class">Black\User\Infrastructure\CQRS\Handler\LockUserHandler</parameter>
        <parameter key="black_user.infrastructure.cqrs.handler.unlock.class">Black\User\Infrastructure\CQRS\Handler\UnlockUserHandler</parameter>
        <parameter key="black_user.infrastructure.cqrs.handler.create.class">Black\User\Infrastructure\CQRS\Handler\CreateUserHandler</parameter>
        <parameter key="black_user.infrastructure.cqrs.handler.update_account.class">Black\User\Infrastructure\CQRS\Handler\UpdateAccountHandler</parameter>
        <parameter key="black_user.infrastructure.cqrs.handler.update_password.class">Black\User\Infrastructure\CQRS\Handler\UpdatePasswordHandler</parameter>
        <parameter key="black_user.infrastructure.cqrs.handler.register.class">Black\User\Infrastructure\CQRS\Handler\RegisterUserHandler</parameter>
        <parameter key="black_user.infrastructure.cqrs.handler.remove.class">Black\User\Infrastructure\CQRS\Handler\RemoveUserHandler</parameter>
    </parameters>

    <services>

        <service
                id="black_user.infrastructure.persistence.user_read"
                class="%black_user.infrastructure.persistence.user_read.class%"
                public="false">
            <argument type="service" id="black_user.infrastructure.persistence.orm" />
        </service>

        <service
                id="black_user.infrastructure.persistence.user_write"
                class="%black_user.infrastructure.persistence.user_write.class%"
                public="false">
            <argument type="service" id="black_user.infrastructure.persistence.orm" />
        </service>

        <service id="black_user.persistence.user_read" alias="black_user.infrastructure.persistence.user_read" />
        <service id="black_user.persistence.user_write" alias="black_user.infrastructure.persistence.user_write" />

        <service id="black_user.infrastructure.cqrs.handler.connect" class="%black_user.infrastructure.cqrs.handler.connect.class%">
            <argument type="service" id="black_user.persistence.user_write" />
            <argument type="service" id="black_user.infrastructure.service.status" />
            <argument type="service" id="event_dispatcher" />

            <tag name="black_cqrs.handler" command="Black\User\Infrastructure\CQRS\Command\ConnectUserCommand" />
        </service>

        <service id="black_user.infrastructure.cqrs.handler.active" class="%black_user.infrastructure.cqrs.handler.active.class%">
            <argument type="service" id="black_user.persistence.user_write" />
            <argument type="service" id="black_user.infrastructure.service.status" />
            <argument type="service" id="event_dispatcher" />

            <tag name="black_cqrs.handler" command="Black\User\Infrastructure\CQRS\Command\ActiveUserCommand" />
        </service>

        <service id="black_user.infrastructure.cqrs.handler.disable" class="%black_user.infrastructure.cqrs.handler.disable.class%">
            <argument type="service" id="black_user.persistence.user_write" />
            <argument type="service" id="black_user.infrastructure.service.status" />
            <argument type="service" id="event_dispatcher" />

            <tag name="black_cqrs.handler" command="Black\User\Infrastructure\CQRS\Command\DisableUserCommand" />
        </service>

        <service id="black_user.infrastructure.cqrs.handler.lock" class="%black_user.infrastructure.cqrs.handler.lock.class%">
            <argument type="service" id="black_user.persistence.user_write" />
            <argument type="service" id="black_user.infrastructure.service.status" />
            <argument type="service" id="event_dispatcher" />

            <tag name="black_cqrs.handler" command="Black\User\Infrastructure\CQRS\Command\LockUserCommand" />
        </service>

        <service id="black_user.infrastructure.cqrs.handler.unlock" class="%black_user.infrastructure.cqrs.handler.unlock.class%">
            <argument type="service" id="black_user.persistence.user_write" />
            <argument type="service" id="black_user.infrastructure.service.status" />
            <argument type="service" id="event_dispatcher" />

            <tag name="black_cqrs.handler" command="Black\User\Infrastructure\CQRS\Command\UnlockUserCommand" />
        </service>

        <service id="black_user.infrastructure.cqrs.handler.create" class="%black_user.infrastructure.cqrs.handler.create.class%">
            <argument type="service" id="black_user.persistence.user_write" />
            <argument type="service" id="black_user.infrastructure.service.register" />
            <argument type="service" id="event_dispatcher" />

            <tag name="black_cqrs.handler" command="Black\User\Infrastructure\CQRS\Command\CreateUserCommand" />
        </service>

        <service id="black_user.infrastructure.cqrs.handler.update_account" class="%black_user.infrastructure.cqrs.handler.update_account.class%">
            <argument type="service" id="black_user.persistence.user_write" />
            <argument type="service" id="black_user.infrastructure.service.write" />
            <argument type="service" id="event_dispatcher" />

            <tag name="black_cqrs.handler" command="Black\User\Infrastructure\CQRS\Command\UpdateAccountCommand" />
        </service>

        <service id="black_user.infrastructure.cqrs.handler.update_password" class="%black_user.infrastructure.cqrs.handler.update_password.class%">
            <argument type="service" id="black_user.persistence.user_write" />
            <argument type="service" id="black_user.infrastructure.service.write" />
            <argument type="service" id="event_dispatcher" />

            <tag name="black_cqrs.handler" command="Black\User\Infrastructure\CQRS\Command\UpdatePasswordCommand" />
        </service>

        <service id="black_user.infrastructure.cqrs.handler.register" class="%black_user.infrastructure.cqrs.handler.register.class%">
            <argument type="service" id="black_user.persistence.user_write" />
            <argument type="service" id="black_user.infrastructure.service.register" />

            <tag name="black_cqrs.handler" command="Black\User\Infrastructure\CQRS\Command\RegisterUserCommand" />
        </service>

        <service id="black_user.infrastructure.cqrs.handler.remove" class="%black_user.infrastructure.cqrs.handler.remove.class%">
            <argument type="service" id="black_user.persistence.user_read" />
            <argument type="service" id="black_user.persistence.user_write" />
            <argument type="service" id="event_dispatcher" />

            <tag name="black_cqrs.handler" command="Black\User\Infrastructure\CQRS\Command\RemoveUserCommand" />
        </service>

    </services>
</container>
{'fraction_non_alphanumeric': 0.1343954248366013, 'fraction_numerical': 0.0012254901960784314, 'mean_word_length': 3.750646830530401, 'pattern_counts': {'":': 0, '<': 189, '<?xml version=': 2, '>': 189, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 6}, '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': '6000805', 'n_tokens_mistral': 4135, 'n_tokens_neox': 4180, 'n_words': 402}