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 10204ab commit 4aa725eCopy full SHA for 4aa725e
components/uid.rst
@@ -106,7 +106,10 @@ UUID objects created with the ``Uuid`` class can use the following methods
106
107
// getting the UUID datetime (it's only available in certain UUID types)
108
$uuid = Uuid::v1();
109
- $uuid->getDateTime(); // returns a \DateTimeImmutable instance
+ $uuid->getDateTime(); // returns a \DateTimeImmutable instance
110
+
111
+ // checking if a given value is valid as UUID
112
+ $isValid = Uuid::isValid($uuid); // true or false
113
114
// comparing UUIDs and checking for equality
115
$uuid1 = Uuid::v1();
0 commit comments