Skip to content

Commit 91a834d

Browse files
authored
[UID] Fix wrong use statement for generators
1 parent bcc56c9 commit 91a834d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

components/uid.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ There's also a Doctrine generator to help autogenerate UUID values for the
146146
entity primary keys::
147147

148148
// there are generators for UUID V1 and V6 too
149-
use Symfony\Bridge\Doctrine\Types\UuidV4Generator;
149+
use Symfony\Bridge\Doctrine\IdGenerator\UuidV4Generator;
150150

151151
/**
152152
* @ORM\Entity(repositoryClass="App\Repository\ProductRepository")
@@ -261,7 +261,7 @@ special Doctrine types which convert to/from ULID objects automatically::
261261
There's also a Doctrine generator to help autogenerate ULID values for the
262262
entity primary keys::
263263

264-
use Symfony\Bridge\Doctrine\Types\UlidGenerator;
264+
use Symfony\Bridge\Doctrine\IdGenerator\UlidGenerator;
265265

266266
/**
267267
* @ORM\Entity(repositoryClass="App\Repository\ProductRepository")

0 commit comments

Comments
 (0)