fix: fake handle in case it does not exist

This commit is contained in:
Maël Gangloff
2024-12-29 13:47:19 +01:00
parent 4761c982ad
commit 7275859bd6
3 changed files with 19 additions and 1 deletions

View File

@@ -5,12 +5,14 @@ namespace App\Entity;
use App\Repository\RdapServerRepository;
use Doctrine\DBAL\Types\Types;
use Doctrine\ORM\Mapping as ORM;
use Symfony\Component\Serializer\Attribute\Groups;
#[ORM\Entity(repositoryClass: RdapServerRepository::class)]
class RdapServer
{
#[ORM\Id]
#[ORM\Column(length: 255)]
#[Groups(['domain:item'])]
private ?string $url = null;
#[ORM\Column(type: Types::DATE_IMMUTABLE)]