<?php
namespace App\Entity;
use App\Repository\LanguageRepository;
use Doctrine\ORM\Mapping as ORM;
use Gedmo\Blameable\Traits\BlameableEntity;
use Gedmo\Timestampable\Traits\TimestampableEntity;
#[ORM\Entity(repositoryClass: LanguageRepository::class)]
class Language extends BaseKeyValue
{
const SPANISH = 'es';
const EUSKERA = 'eu';
const ENGLISH = 'en';
#[ORM\Id]
#[ORM\GeneratedValue(strategy: 'IDENTITY')]
#[ORM\Column]
private ?int $id = null;
public function getId(): ?int
{
return $this->id;
}
}