From 91a834dc86a31c2ec12a2b52c56da22a22bff029 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Sapone?= Date: Fri, 16 Oct 2020 11:12:01 +0200 Subject: [PATCH] [UID] Fix wrong use statement for generators --- components/uid.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/uid.rst b/components/uid.rst index f1c569df97d..287789ac368 100644 --- a/components/uid.rst +++ b/components/uid.rst @@ -146,7 +146,7 @@ There's also a Doctrine generator to help autogenerate UUID values for the entity primary keys:: // there are generators for UUID V1 and V6 too - use Symfony\Bridge\Doctrine\Types\UuidV4Generator; + use Symfony\Bridge\Doctrine\IdGenerator\UuidV4Generator; /** * @ORM\Entity(repositoryClass="App\Repository\ProductRepository") @@ -261,7 +261,7 @@ special Doctrine types which convert to/from ULID objects automatically:: There's also a Doctrine generator to help autogenerate ULID values for the entity primary keys:: - use Symfony\Bridge\Doctrine\Types\UlidGenerator; + use Symfony\Bridge\Doctrine\IdGenerator\UlidGenerator; /** * @ORM\Entity(repositoryClass="App\Repository\ProductRepository")