<commit_before><?php

/*
 * This file is part of the Elcodi package.
 *
 * Copyright (c) 2014 Elcodi.com
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 *
 * Feel free to edit as you please, and have fun.
 *
 * @author <NAME> <<EMAIL>>
 * @author <NAME> <<EMAIL>>
 */

namespace Elcodi\Component\Coupon\EventDispatcher;

use Symfony\Component\EventDispatcher\EventDispatcherInterface;

use Elcodi\Component\Core\EventDispatcher\Abstracts\AbstractEventDispatcher;
use Elcodi\Component\Coupon\ElcodiCouponEvents;
use Elcodi\Component\Coupon\Entity\Interfaces\CouponInterface;
use Elcodi\Component\Coupon\Event\CouponOnUsedEvent;

/**
 * Class CouponEventDispatcher
 */
class CouponEventDispatcher extends AbstractEventDispatcher
{
    /**
     * Notify Coupon usage
     *
     * @param CouponInterface $coupon Coupon used
     *<commit_msg>Fixed code with php-cs-fixer<commit_after><?php

/*
 * This file is part of the Elcodi package.
 *
 * Copyright (c) 2014 Elcodi.com
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 *
 * Feel free to edit as you please, and have fun.
 *
 * @author <NAME> <<EMAIL>>
 * @author <NAME> <<EMAIL>>
 */

namespace Elcodi\Component\Coupon\EventDispatcher;

use Elcodi\Component\Core\EventDispatcher\Abstracts\AbstractEventDispatcher;
use Elcodi\Component\Coupon\ElcodiCouponEvents;
use Elcodi\Component\Coupon\Entity\Interfaces\CouponInterface;
use Elcodi\Component\Coupon\Event\CouponOnUsedEvent;

/**
 * Class CouponEventDispatcher
 */
class CouponEventDispatcher extends AbstractEventDispatcher
{
    /**
     * Notify Coupon usage
     *
     * @param CouponInterface $coupon Coupon used
     *
{'fraction_non_alphanumeric': 0.09587513935340022, 'fraction_numerical': 0.004459308807134894, 'mean_word_length': 4.279411764705882, 'pattern_counts': {'":': 0, '<': 17, '<?xml version=': 0, '>': 15, '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': '4319927', 'n_tokens_mistral': 573, 'n_tokens_neox': 563, 'n_words': 149}