You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feature #21422 [Uid] Add documentation for MockUuidFactory usage in tests (momito69)
This PR was squashed before being merged into the 7.4 branch.
Discussion
----------
[Uid] Add documentation for MockUuidFactory usage in tests
This contribution adds details about the “MockUuidFactory” class, newly introduced in the UID component.
Fixes#21418
Commits
-------
b5c5035 [Uid] Add documentation for MockUuidFactory usage in tests
``MockUuidFactory`` is intended for use in tests only and should never be used in production.
501
+
502
+
.. note::
503
+
504
+
- Supports the :method:`Symfony\\Component\\Uid\\Factory\\MockUuidFactory::create`, :method:`Symfony\\Component\\Uid\\Factory\\MockUuidFactory::randomBased`, :method:`Symfony\\Component\\Uid\\Factory\\MockUuidFactory::timeBased`, and :method:`Symfony\\Component\\Uid\\Factory\\MockUuidFactory::nameBased` methods.
505
+
- You can mix different UUID versions in the same sequence.
506
+
- Throws an exception if the sequence is exhausted or the type does not match.
0 commit comments