Class humhub\libs\UUID

Inheritancehumhub\libs\UUID
Available since version0.5

UUID Generator Class provides static methods for creating or validating UUIDs.

Public Methods

Hide inherited methods

MethodDescriptionDefined By
is_valid() Validates a given UUID humhub\libs\UUID
v4() Creates an v4 UUID humhub\libs\UUID

Method Details

is_valid() public static method

Validates a given UUID

public static boolean is_valid ( $uuid )
$uuid String
v4() public static method

Creates an v4 UUID

public static String v4 ( )
throws \yii\base\Exception