<commit_before><?php

namespace Futsal\TournamentBundle\Entity;

use Doctrine\ORM\Mapping as ORM;

/**
 * Tournament
 *
 * @ORM\Table(name="fut_tournament")
 * @ORM\Entity(repositoryClass="Futsal\TournamentBundle\Entity\TournamentRepository")
 */
class Tournament
{
    /**
     * @var integer
     *
     * @ORM\Column(name="id", type="integer")
     * @ORM\Id
     * @ORM\GeneratedValue(strategy="AUTO")
     */
    private $id;

    /**
     * @var string
     *
     * @ORM\Column(name="name", type="string", length=32, nullable=false)
     */
    private $name;

    /**
     * @var string
     *
     * @ORM\Column(name="labelname", type="string", length=255, nullable=true)
     */
    private $labelname;

    /**
     * @var string
     *
     * @ORM\Column(name="description", type="string", length=512, nullable=true)
     */
    private $description;

    /**
     * @var \DateTime
     *
     * @ORM\Column(name="date_begin", type="date", nullable=true)
     */
    private $dateBegin;

    /**
     * @var \DateTime
     *
     * @ORM\Column(name="date_end", type="date", nullable=true)
     */
    private $dateEnd;

    /**
     * @ORM\ManyToMany(targetEntity="Futsal\TournamentBundle\Entity\Team")
     * @ORM\JoinTable(name="fut_tournament_team_assoc", joinColumns={@ORM\JoinColumn(name="team_id", referencedColumnName="id")})
     **/
    private $teamsSubscribed;
    
    /**
     * Constructor
     */
    public function __construct()
    {
        $this->teamsSubscribed = new \Doctrine\Common\Collections\ArrayCollection();<commit_msg>Update association mapping<commit_after><?php

namespace Futsal\TournamentBundle\Entity;

use Doctrine\ORM\Mapping as ORM;

/**
 * Tournament
 *
 * @ORM\Table(name="fut_tournament")
 * @ORM\Entity(repositoryClass="Futsal\TournamentBundle\Entity\TournamentRepository")
 */
class Tournament
{
    /**
     * @var integer
     *
     * @ORM\Column(name="id", type="integer")
     * @ORM\Id
     * @ORM\GeneratedValue(strategy="AUTO")
     */
    private $id;

    /**
     * @var string
     *
     * @ORM\Column(name="name", type="string", length=32, nullable=false)
     */
    private $name;

    /**
     * @var string
     *
     * @ORM\Column(name="labelname", type="string", length=255, nullable=true)
     */
    private $labelname;

    /**
     * @var string
     *
     * @ORM\Column(name="description", type="string", length=512, nullable=true)
     */
    private $description;

    /**
     * @var \DateTime
     *
     * @ORM\Column(name="date_begin", type="date", nullable=true)
     */
    private $dateBegin;

    /**
     * @var \DateTime
     *
     * @ORM\Column(name="date_end", type="date", nullable=true)
     */
    private $dateEnd;

    /**
     * @ORM\ManyToMany(targetEntity="Futsal\TournamentBundle\Entity\Team")
     * @ORM\JoinTable(name="fut_tournament_team_assoc", joinColumns={@ORM\JoinColumn(name="tournament_id", referencedColumnName="id")}, inverseJoinColumns={@ORM\JoinColumn(name="team_id", referencedColumnName="id")})
     **/
    private $teamsSubscribed;
    
    /**
     * Constructor
     */
    public function __construct()
    {
        $this->teamsSubscribed = new \Doctrine\Common\Collections\ArrayCollection();
{'fraction_non_alphanumeric': 0.16677018633540372, 'fraction_numerical': 0.004968944099378882, 'mean_word_length': 2.843675417661098, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '365262', 'n_tokens_mistral': 1087, 'n_tokens_neox': 1048, 'n_words': 145}