<commit_before><?php
namespace Kells\Bundle\FrontBundle\Entity;

use Symfony\Component\Security\Core\User\UserInterface;
use Doctrine\ORM\Mapping as ORM;
use Symfony\Component\Validator\Constraints as Assert;

/**
 * @ORM\Entity
 * @ORM\Table(name="users") 
 */
class User implements UserInterface {
	
	/**
     * @ORM\Id
     * @ORM\Column(type="integer")
     * @ORM\GeneratedValue(strategy="AUTO")
     */
	protected $id;
		/**
     * @ORM\Column(type="string", length=60)
     */
	protected $firstName;
		/**
     * @ORM\Column(type="string", length=60)
     */
	protected $lastName;
		/**
     * @ORM\Column(type="string", length=60)
     * @Assert\NotBlank()
     */
	protected $mail;
		/**
     * @ORM\Column(type="string", length=60)
     */
	protected $telephone;
	
	/**
     * @ORM\Column(type="string", length=60)
     * @Assert\NotBlank()
     */
	protected $password;
	
	  /**
     * @ORM\Column(type="string", length=255)
     */
    protected $token;
	
    /**
     * @ORM\Column(type="boolean")
     */
	protected $status;
	
	/**
     * @ORM\ManyToMany(targetEntity="Rol")
     * @ORM\JoinTable(name="usuario_rol",
     *     joinColumns={@ORM\JoinColumn(name="usuario_id", referencedColumnName="id")},
     *     inverseJoinColumns={@ORM\JoinColumn(name="rol_id", referencedColumnName="id")}
     * )
     */
    protected $roles;
	
    /**
     * @ORM\Column(name="salt", type="string", length=255)
     */
    protected $salt = "";
    
    /**
     * @ORM\OneToMany(targetEntity="Car", mappedBy="user")
     **/
    protected $cars;

    /**
     * Get id
     *
     * @return integer 
     */
    public function getId()
    {
        return $this->id;
    }

    /**
     * Set firstName
     *
     * @param string $firstName
     * @return User
     */
    public function setFirstName($firstName)
    {
        $this->firstName = $firstName;

        return $this;
    }

    /**
     * Get firstName<commit_msg>removing publication of user<commit_after><?php
namespace Kells\Bundle\FrontBundle\Entity;

use Symfony\Component\Security\Core\User\UserInterface;
use Doctrine\ORM\Mapping as ORM;
use Symfony\Component\Validator\Constraints as Assert;

/**
 * @ORM\Entity
 * @ORM\Table(name="users") 
 */
class User implements UserInterface {
	
	/**
     * @ORM\Id
     * @ORM\Column(type="integer")
     * @ORM\GeneratedValue(strategy="AUTO")
     */
	protected $id;
		/**
     * @ORM\Column(type="string", length=60)
     */
	protected $firstName;
		/**
     * @ORM\Column(type="string", length=60)
     */
	protected $lastName;
		/**
     * @ORM\Column(type="string", length=60)
     * @Assert\NotBlank()
     */
	protected $mail;
		/**
     * @ORM\Column(type="string", length=60)
     */
	protected $telephone;
	
	/**
     * @ORM\Column(type="string", length=60)
     * @Assert\NotBlank()
     */
	protected $password;
	
	  /**
     * @ORM\Column(type="string", length=255)
     */
    protected $token;
	
    /**
     * @ORM\Column(type="boolean")
     */
	protected $status;
	
	/**
     * @ORM\ManyToMany(targetEntity="Rol")
     * @ORM\JoinTable(name="usuario_rol",
     *     joinColumns={@ORM\JoinColumn(name="usuario_id", referencedColumnName="id")},
     *     inverseJoinColumns={@ORM\JoinColumn(name="rol_id", referencedColumnName="id")}
     * )
     */
    protected $roles;
	
    /**
     * @ORM\Column(name="salt", type="string", length=255)
     */
    protected $salt = "";
    
    /**
     * @ORM\OneToMany(targetEntity="Car", mappedBy="user", cascade="remove")
     **/
    protected $cars;

    /**
     * Get id
     *
     * @return integer 
     */
    public function getId()
    {
        return $this->id;
    }

    /**
     * Set firstName
     *
     * @param string $firstName
     * @return User
     */
    public function setFirstName($firstName)
    {
        $this->firstName = $firstName;

        return $this;
    }

    /**
     * Get firstName
{'fraction_non_alphanumeric': 0.1739575338961371, 'fraction_numerical': 0.008186236889229983, 'mean_word_length': 2.4148471615720526, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 7, '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': '815182', 'n_tokens_mistral': 1361, 'n_tokens_neox': 1292, 'n_words': 193}