We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 765a6e0 commit 23f4e26Copy full SHA for 23f4e26
components/uid.rst
@@ -269,6 +269,17 @@ following methods to create a ``Ulid`` object from it::
269
The ``fromBinary()``, ``fromBase32()``, ``fromBase58()`` and ``fromRfc4122()``
270
methods were introduced in Symfony 5.3.
271
272
+There's also a special ``NilUlid`` class to represent ULID ``null`` values::
273
+
274
+ use Symfony\Component\Uid\NilUlid;
275
276
+ $ulid = new NilUlid();
277
+ // equivalent to $ulid = new Ulid('00000000000000000000000000');
278
279
+.. versionadded:: 5.4
280
281
+ The ``NilUlid`` class was introduced in Symfony 5.4.
282
283
Converting ULIDs
284
~~~~~~~~~~~~~~~~
285
0 commit comments