<commit_before><?php

namespace Forex\Bundle\AdminBundle\Admin;

use Forex\Bundle\EmailBundle\Entity\EmailMessage;
use Sonata\AdminBundle\Admin\Admin;
use Sonata\AdminBundle\Datagrid\ListMapper;
use Sonata\AdminBundle\Datagrid\DatagridMapper;
use Sonata\AdminBundle\Form\FormMapper;

class EmailMessageAdmin extends Admin
{
    protected function configureFormFields(FormMapper $formMapper)
    {
        $formMapper
            ->with('Recipients')
                ->add('id', null, array('required' => false))
                ->add('email', 'email', array('required' => false))
                ->add('ccEmail', 'email', array('required' => false))
                ->add('bccEmail', 'email', array('required' => false))
                ->add('user', 'sonata_type_model', array('required' => false), array())<commit_msg>Add replyTo to email admin<commit_after><?php

namespace Forex\Bundle\AdminBundle\Admin;

use Forex\Bundle\EmailBundle\Entity\EmailMessage;
use Sonata\AdminBundle\Admin\Admin;
use Sonata\AdminBundle\Datagrid\ListMapper;
use Sonata\AdminBundle\Datagrid\DatagridMapper;
use Sonata\AdminBundle\Form\FormMapper;

class EmailMessageAdmin extends Admin
{
    protected function configureFormFields(FormMapper $formMapper)
    {
        $formMapper
            ->with('Recipients')
                ->add('id', null, array('required' => false))
                ->add('email', 'email', array('required' => false))
                ->add('ccEmail', 'email', array('required' => false))
                ->add('bccEmail', 'email', array('required' => false))
                ->add('replyTo', 'email', array('required' => false))
                ->add('user', 'sonata_type_model', array('required' => false), array())
{'fraction_non_alphanumeric': 0.15206035983749275, 'fraction_numerical': 0.0, 'mean_word_length': 3.3208020050125313, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 27, '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': '6015695', 'n_tokens_mistral': 495, 'n_tokens_neox': 483, 'n_words': 95}