<commit_before>services:

    #
    # Event Listeners
    #
    elcodi.core.cart_coupon.event_listeners.cart:
        class: %elcodi.core.cart_coupon.event_listeners.cart.class%
        arguments:
            coupon_manager: @elcodi.core.coupon.services.coupon_manager
            cart_coupon_manager: @elcodi.core.cart_coupon.services.cart_coupon_manager
        tags:
            - { name: kernel.event_listener, event: cart.load, method: onCartLoad }

    elcodi.core.cart_coupon.event_listeners.order:
        class: %elcodi.core.cart_coupon.event_listeners.order.class%
        arguments:
            coupon_event_dispatcher: @elcodi.core.coupon.event_dispatchers.coupon
            order_coupon_factory: @elcodi.core.cart_coupon.factory.order_coupon
            cart_coupon_manager: @elcodi.core.cart_coupon.services.cart_coupon_manager
            manager: @doctrine.orm.entity_manager
        tags:
            - { name: kernel.event_listener, event: cart.onload, method: onCartOnLoad }
            - { name: kernel.event_listener, event: order.oncreated, method: onOrderOnCreatedEventCouponsValue }
            - { name: kernel.event_listener, event: order.oncreated, method: onOrderOnCreatedEventTransferCoupons }
<commit_msg>[CartCouponBundle] Fixes #21. Incorrect method in listener definition tag<commit_after>services:

    #
    # Event Listeners
    #
    elcodi.core.cart_coupon.event_listeners.cart:
        class: %elcodi.core.cart_coupon.event_listeners.cart.class%
        arguments:
            coupon_manager: @elcodi.core.coupon.services.coupon_manager
            cart_coupon_manager: @elcodi.core.cart_coupon.services.cart_coupon_manager
        tags:
            - { name: kernel.event_listener, event: cart.onload, method: onCartOnLoad }

    elcodi.core.cart_coupon.event_listeners.order:
        class: %elcodi.core.cart_coupon.event_listeners.order.class%
        arguments:
            coupon_event_dispatcher: @elcodi.core.coupon.event_dispatchers.coupon
            order_coupon_factory: @elcodi.core.cart_coupon.factory.order_coupon
            cart_coupon_manager: @elcodi.core.cart_coupon.services.cart_coupon_manager
            manager: @doctrine.orm.entity_manager
        tags:
            - { name: kernel.event_listener, event: order.oncreated, method: onOrderOnCreatedEventCouponsValue }
            - { name: kernel.event_listener, event: order.oncreated, method: onOrderOnCreatedEventTransferCoupons }

{'fraction_non_alphanumeric': 0.08823529411764706, 'fraction_numerical': 0.0008169934640522876, 'mean_word_length': 3.0953177257525084, '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': '7486828', 'n_tokens_mistral': 778, 'n_tokens_neox': 812, 'n_words': 100}