Thanks to visit codestin.com Credit goes to github.com
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 75862b6 commit c3fe53aCopy full SHA for c3fe53a
components/uid.rst
@@ -120,7 +120,10 @@ UUID objects created with the ``Uuid`` class can use the following methods
120
121
// getting the UUID datetime (it's only available in certain UUID types)
122
$uuid = Uuid::v1();
123
- $uuid->getDateTime(); // returns a \DateTimeImmutable instance
+ $uuid->getDateTime(); // returns a \DateTimeImmutable instance
124
+
125
+ // checking if a given value is valid as UUID
126
+ $isValid = Uuid::isValid($uuid); // true or false
127
128
// comparing UUIDs and checking for equality
129
$uuid1 = Uuid::v1();
0 commit comments