Documentation

UUIDUtil
in package

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.

Tags
copyright

Copyright (C) fruux GmbH (https://fruux.com/)

author

Evert Pot (http://evertpot.com/)

license

http://sabre.io/license/ Modified BSD License

Table of Contents

getUUID()  : string
Returns a pseudo-random v4 UUID.
validateUUID()  : bool
Checks if a string is a valid UUID.

Methods

validateUUID()

Checks if a string is a valid UUID.

public static validateUUID(string $uuid) : bool
Parameters
$uuid : string
Return values
bool

Search results