uuid: The constructor can not be static
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3592 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
This commit is contained in:
2
uuid.php
2
uuid.php
@@ -9,7 +9,7 @@ class uuid
|
|||||||
{
|
{
|
||||||
/** Based on http://php.net/manual/fr/function.uniqid.php#94959
|
/** Based on http://php.net/manual/fr/function.uniqid.php#94959
|
||||||
*/
|
*/
|
||||||
public static function uuid()
|
public static function uuid4()
|
||||||
{
|
{
|
||||||
return sprintf('%04x%04x-%04x-%04x-%04x-%04x%04x%04x',
|
return sprintf('%04x%04x-%04x-%04x-%04x-%04x%04x%04x',
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user