Skip to content

Commit

Permalink
docs
Browse files Browse the repository at this point in the history
  • Loading branch information
rogervila committed Jan 26, 2024
1 parent fac0c0c commit 7cd8f10
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/quickstart.rst
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,8 @@ library.
- Checks whether a string is a valid UUID.
* - :php:meth:`Uuid::fromString() <Ramsey\\Uuid\\Uuid::fromString>`
- Creates a UUID instance from a string UUID.
* - :php:meth:`Uuid::fromStrictString() <Ramsey\\Uuid\\Uuid::fromString>`
- Creates a UUID from a valid string representation.
* - :php:meth:`Uuid::fromBytes() <Ramsey\\Uuid\\Uuid::fromBytes>`
- Creates a UUID instance from a 16-byte string.
* - :php:meth:`Uuid::fromInteger() <Ramsey\\Uuid\\Uuid::fromInteger>`
Expand Down
8 changes: 8 additions & 0 deletions docs/reference/uuid.rst
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,14 @@ the ramsey/uuid library.
:param string $uuid: The string standard representation of a UUID
:returntype: Ramsey\\Uuid\\UuidInterface

.. php:staticmethod:: fromStrictString($uuid)
Creates a UUID from a valid string representation, validated against
the isValid method.

:param string $uuid: The string standard representation of a UUID
:returntype: Ramsey\\Uuid\\UuidInterface

.. php:staticmethod:: fromBytes($bytes)
Creates an instance of UuidInterface from a 16-byte string.
Expand Down
8 changes: 8 additions & 0 deletions docs/reference/uuidfactoryinterface.rst
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,14 @@ UuidFactoryInterface
:param string $uuid: The string standard representation of a UUID
:returntype: Ramsey\\Uuid\\UuidInterface

.. php:method:: fromStrictString($uuid)
Creates a UUID from a valid string representation, validated against
the isValid method.

:param string $uuid: The string standard representation of a UUID
:returntype: Ramsey\\Uuid\\UuidInterface

.. php:method:: fromBytes($bytes)
Creates an instance of UuidInterface from a 16-byte string.
Expand Down

0 comments on commit 7cd8f10

Please sign in to comment.