From 881051cce0d0c678da689bcdd268f52e29c2a8de Mon Sep 17 00:00:00 2001 From: Dustin Meiner <168725484+curenect-meiner@users.noreply.github.com> Date: Sun, 25 May 2025 14:39:42 +0200 Subject: [PATCH] Update uid.rst with the string almost their is failure cause symfony dont find the class. This prevents it form it. --- components/uid.rst | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/components/uid.rst b/components/uid.rst index b031348f85a..fe15f964f44 100644 --- a/components/uid.rst +++ b/components/uid.rst @@ -527,6 +527,7 @@ entity primary keys:: namespace App\Entity; use Doctrine\ORM\Mapping as ORM; + use Symfony\Bridge\Doctrine\IdGenerator\UlidGenerator; use Symfony\Bridge\Doctrine\Types\UlidType; use Symfony\Component\Uid\Ulid; @@ -535,7 +536,7 @@ entity primary keys:: #[ORM\Id] #[ORM\Column(type: UlidType::NAME, unique: true)] #[ORM\GeneratedValue(strategy: 'CUSTOM')] - #[ORM\CustomIdGenerator(class: 'doctrine.ulid_generator')] + #[ORM\CustomIdGenerator(class: UlidGenerator::class)] private ?Ulid $id; public function getId(): ?Ulid