Skip to content

Remove reference to non-existing fromBinary method #14029

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 21, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 2 additions & 12 deletions components/uid.rst
Original file line number Diff line number Diff line change
Expand Up @@ -62,15 +62,10 @@ to create each type of UUID::
If your UUID is generated by another system, use the ``fromString()`` method to
create an object and make use of the utilities available for Symfony UUIDs::

// this value is generated somewhere else
// this value is generated somewhere else (can also be in binary format)
$uuidValue = 'd9e7a184-5d5b-11ea-a62a-3499710062d0';
$uuid = Uuid::fromString($uuidValue);

If your UUIDs are generated in binary format, use the ``fromBinary()`` method
to create the objects for them::

$uuid = Uuid::fromBinary($uuidBinaryContents);

Converting UUIDs
~~~~~~~~~~~~~~~~

Expand Down Expand Up @@ -140,15 +135,10 @@ Instantiate the ``Ulid`` class to generate a random ULID value::
If your ULID is generated by another system, use the ``fromString()`` method to
create an object and make use of the utilities available for Symfony ULIDs::

// this value is generated somewhere else
// this value is generated somewhere else (can also be in binary format)
$ulidValue = '01E439TP9XJZ9RPFH3T1PYBCR8';
$ulid = Ulid::fromString($ulidValue);

If your ULIDs are generated in binary format, use the ``fromBinary()`` method
to create the objects for them::

$ulid = Ulid::fromBinary($ulidBinaryContents);

Converting ULIDs
~~~~~~~~~~~~~~~~

Expand Down