[DoctrineBridge] add missing @experimental
annotation on Uid generators
This commit is contained in:
parent
bda55f073a
commit
e380102590
@ -5,7 +5,7 @@ CHANGELOG
|
||||
-----
|
||||
|
||||
* added support for symfony/uid as `UlidType` and `UuidType` as Doctrine types
|
||||
* added `UlidGenerator`, `UUidV1Generator`, `UuidV4Generator` and `UuidV6Generator`
|
||||
* added `UlidGenerator`, `UuidV1Generator`, `UuidV4Generator` and `UuidV6Generator`
|
||||
|
||||
5.0.0
|
||||
-----
|
||||
|
@ -15,6 +15,9 @@ use Doctrine\ORM\EntityManager;
|
||||
use Doctrine\ORM\Id\AbstractIdGenerator;
|
||||
use Symfony\Component\Uid\Ulid;
|
||||
|
||||
/**
|
||||
* @experimental in 5.2
|
||||
*/
|
||||
final class UlidGenerator extends AbstractIdGenerator
|
||||
{
|
||||
public function generate(EntityManager $em, $entity): Ulid
|
||||
|
@ -15,6 +15,9 @@ use Doctrine\ORM\EntityManager;
|
||||
use Doctrine\ORM\Id\AbstractIdGenerator;
|
||||
use Symfony\Component\Uid\UuidV1;
|
||||
|
||||
/**
|
||||
* @experimental in 5.2
|
||||
*/
|
||||
final class UuidV1Generator extends AbstractIdGenerator
|
||||
{
|
||||
public function generate(EntityManager $em, $entity): UuidV1
|
||||
|
@ -15,6 +15,9 @@ use Doctrine\ORM\EntityManager;
|
||||
use Doctrine\ORM\Id\AbstractIdGenerator;
|
||||
use Symfony\Component\Uid\UuidV4;
|
||||
|
||||
/**
|
||||
* @experimental in 5.2
|
||||
*/
|
||||
final class UuidV4Generator extends AbstractIdGenerator
|
||||
{
|
||||
public function generate(EntityManager $em, $entity): UuidV4
|
||||
|
@ -15,6 +15,9 @@ use Doctrine\ORM\EntityManager;
|
||||
use Doctrine\ORM\Id\AbstractIdGenerator;
|
||||
use Symfony\Component\Uid\UuidV6;
|
||||
|
||||
/**
|
||||
* @experimental in 5.2
|
||||
*/
|
||||
final class UuidV6Generator extends AbstractIdGenerator
|
||||
{
|
||||
public function generate(EntityManager $em, $entity): UuidV6
|
||||
|
Reference in New Issue
Block a user