-
Notifications
You must be signed in to change notification settings - Fork 129
Sabre VObject UUIDUtil
Evert Pot edited this page Sep 1, 2014
·
2 revisions
UUID Utility
This class has static methods to generate and validate UUID's. UUIDs are used a decent amount within various *DAV standards, so it made sense to include it.
- Class name: UUIDUtil
- Namespace: Sabre\VObject
string Sabre\VObject\UUIDUtil::getUUID()
Returns a pseudo-random v4 UUID
This function is based on a comment by Andrew Moore on php.net
- Visibility: public
- This method is static.
boolean Sabre\VObject\UUIDUtil::validateUUID(string $uuid)
Checks if a string is a valid UUID.
- Visibility: public
- This method is static.
- $uuid string