[DoctrineBridge] add missing @experimental annotation on Uid generators

This commit is contained in:
Nicolas Grekas 2021-01-28 15:21:46 +01:00
parent bda55f073a
commit e380102590
5 changed files with 13 additions and 1 deletions

View File

@ -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
-----

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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