Welcome to the Cookbook

loading...

8.3.1 uuid

There is no translation yet for this section. Please help out and translate this.. More information about translations

The uuid method is used to generate unique identifiers as per RFC 4122. The uuid is a 128bit string in the format of 485fc381-e790-47a3-9794-1337c0a8fe68.

String::uuid(); // 485fc381-e790-47a3-9794-1337c0a8fe68
  1. String::uuid(); // 485fc381-e790-47a3-9794-1337c0a8fe68