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
@@ -444,15 +448,14 @@ In your tests, you can use ``MockUuidFactory`` to inject predictable UUIDs and v
444
448
}
445
449
}
446
450
447
-
.. warning::
448
-
449
-
``MockUuidFactory`` is intended for use in tests only and should never be used in production.
451
+
In addition to the ``create()`` method, the ``MockUuidFactory`` also works for
452
+
the ``randomBased()``, ``timeBased()``, and ``nameBased()`` methods. You can even
453
+
mix different UUID versions in the same sequence.
450
454
451
455
.. note::
452
456
453
-
- 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.
454
-
- You can mix different UUID versions in the same sequence.
455
-
- Throws an exception if the sequence is exhausted or the type does not match.
457
+
``MockUuidFactory`` throws an exception if the sequence is exhausted or the
458
+
available UUID types don't match the requested type.
0 commit comments