From 418e9c633917184aa85dda4b5959620e6d97897a Mon Sep 17 00:00:00 2001 From: Ben Ramsey Date: Sun, 27 Mar 2022 22:55:56 -0500 Subject: [PATCH] Move getUrn() documentation according to interface changes --- docs/reference/rfc4122-uuidinterface.rst | 8 -------- docs/reference/uuidinterface.rst | 7 +++++++ 2 files changed, 7 insertions(+), 8 deletions(-) diff --git a/docs/reference/rfc4122-uuidinterface.rst b/docs/reference/rfc4122-uuidinterface.rst index 543d445..237af97 100644 --- a/docs/reference/rfc4122-uuidinterface.rst +++ b/docs/reference/rfc4122-uuidinterface.rst @@ -18,11 +18,3 @@ Rfc4122\\UuidInterface :returns: The fields that comprise this UUID. :returntype: Ramsey\\Uuid\\Rfc4122\\FieldsInterface - - .. php:method:: getUrn() - - :returns: The string standard representation of the UUID as a `URN`_. - :returntype: ``string`` - - -.. _URN: https://tools.ietf.org/html/rfc8141 diff --git a/docs/reference/uuidinterface.rst b/docs/reference/uuidinterface.rst index 02c1819..57611bb 100644 --- a/docs/reference/uuidinterface.rst +++ b/docs/reference/uuidinterface.rst @@ -42,6 +42,11 @@ UuidInterface :returns: The integer representation of the UUID. :returntype: Ramsey\\Uuid\\Type\\Integer + .. php:method:: getUrn() + + :returns: The string standard representation of the UUID as a `URN`_. + :returntype: ``string`` + .. php:method:: toString() :returns: The string standard representation of the UUID. @@ -51,3 +56,5 @@ UuidInterface :returns: The string standard representation of the UUID. :returntype: ``string`` + +.. _URN: https://tools.ietf.org/html/rfc8141