<commit_before><?php

namespace Oro\Bundle\ReminderBundle\Model\Email;

use Doctrine\Common\Persistence\ObjectManager;

use Oro\Bundle\EmailBundle\Entity\EmailTemplate;
use Oro\Bundle\EntityBundle\Provider\EntityNameResolver;
use Oro\Bundle\NotificationBundle\Processor\SenderAwareEmailNotificationInterface;
use Oro\Bundle\ReminderBundle\Entity\Reminder;
use Oro\Bundle\EntityConfigBundle\Provider\ConfigProvider;
use Oro\Bundle\ReminderBundle\Exception\InvalidArgumentException;
use Oro\Bundle\UserBundle\Entity\User;

class EmailNotification implements SenderAwareEmailNotificationInterface
{
    const TEMPLATE_ENTITY = 'Oro\Bundle\EmailBundle\Entity\EmailTemplate';
    const CONFIG_FIELD    = 'reminder_template_name';

    /**
     * @var ObjectManager
     */
    protected $em;

    /**
     * @var ConfigProvider
     */
    protected $configProvider;

    /**
     * @var Reminder
     */
    protected $reminder;

    /**
     * @var EntityNameResolver
     */
    protected $entityNameResolver;

    /**
     * Constructor
     *
     * @param ObjectManager      $em<commit_msg>CRM-5745: Calendar Event and Task Reminder Email Displaying Incorrect Time Zone; - fixed use<commit_after><?php

namespace Oro\Bundle\ReminderBundle\Model\Email;

use Doctrine\Common\Persistence\ObjectManager;

use Oro\Bundle\EmailBundle\Entity\EmailTemplate;
use Oro\Bundle\EntityBundle\Provider\EntityNameResolver;
use Oro\Bundle\NotificationBundle\Processor\SenderAwareEmailNotificationInterface;
use Oro\Bundle\ReminderBundle\Entity\Reminder;
use Oro\Bundle\EntityConfigBundle\Provider\ConfigProvider;
use Oro\Bundle\ReminderBundle\Exception\InvalidArgumentException;

class EmailNotification implements SenderAwareEmailNotificationInterface
{
    const TEMPLATE_ENTITY = 'Oro\Bundle\EmailBundle\Entity\EmailTemplate';
    const CONFIG_FIELD    = 'reminder_template_name';

    /**
     * @var ObjectManager
     */
    protected $em;

    /**
     * @var ConfigProvider
     */
    protected $configProvider;

    /**
     * @var Reminder
     */
    protected $reminder;

    /**
     * @var EntityNameResolver
     */
    protected $entityNameResolver;

    /**
     * Constructor
     *
     * @param ObjectManager      $em
{'fraction_non_alphanumeric': 0.09495949594959496, 'fraction_numerical': 0.0018001800180018, 'mean_word_length': 3.7097457627118646, 'pattern_counts': {'":': 0, '<': 5, '<?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': '6888447', 'n_tokens_mistral': 644, 'n_tokens_neox': 633, 'n_words': 107}