<commit_before><?php

namespace Ojs\JournalBundle\Entity;

use APY\DataGridBundle\Grid\Mapping as GRID;
use Doctrine\Common\Collections\ArrayCollection;
use Doctrine\Common\Collections\Collection;
use Gedmo\Translatable\Translatable;
use Ojs\CoreBundle\Entity\GenericEntityTrait;
use Prezent\Doctrine\Translatable\Annotation as Prezent;

/**
 * MailTemplate
 * @GRID\Source(columns="id,type,subject")
 */
class MailTemplate implements Translatable
{
    use GenericEntityTrait;

    /**
     * @var ArrayCollection|Lang[]
     * @GRID\Column(title="mailtemplate.languages",field="languages.code",type="array")
     */
    protected $languages;
    /**<commit_msg>mail template entity grid definitions revise<commit_after><?php

namespace Ojs\JournalBundle\Entity;

use APY\DataGridBundle\Grid\Mapping as GRID;
use Doctrine\Common\Collections\ArrayCollection;
use Doctrine\Common\Collections\Collection;
use Gedmo\Translatable\Translatable;
use Ojs\CoreBundle\Entity\GenericEntityTrait;
use Prezent\Doctrine\Translatable\Annotation as Prezent;

/**
 * MailTemplate
 * @GRID\Source(columns="id,type,subject,lang")
 */
class MailTemplate implements Translatable
{
    use GenericEntityTrait;

    /**
     * @var ArrayCollection|Lang[]
     * @GRID\Column(title="mailtemplate.languages",field="languages.code",type="array")
     */
    protected $languages;
    /**
{'fraction_non_alphanumeric': 0.1211453744493392, 'fraction_numerical': 0.0, 'mean_word_length': 5.195454545454545, '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': '5991979', 'n_tokens_mistral': 417, 'n_tokens_neox': 415, 'n_words': 69}