src/Entity/PageDrBloc.php line 13

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use App\Repository\PageDrBlocRepository;
  4. use Doctrine\DBAL\Types\Types;
  5. use Doctrine\ORM\Mapping as ORM;
  6. use Knp\DoctrineBehaviors\Model\Translatable\TranslatableTrait;
  7. use Knp\DoctrineBehaviors\Contract\Entity\TranslatableInterface;
  8. #[ORM\Entity(repositoryClassPageDrBlocRepository::class)]
  9. class PageDrBloc implements TranslatableInterface
  10. {
  11.     use TranslatableTrait;
  12.     #[ORM\Id]
  13.     #[ORM\GeneratedValue]
  14.     #[ORM\Column]
  15.     private ?int $id null;
  16.     public function getId(): ?int
  17.     {
  18.         return $this->id;
  19.     }
  20. }