From 2ec28dd736ac58606e110bda2c4dbc84672c2c3e Mon Sep 17 00:00:00 2001 From: Matias Navarro Carter Date: Fri, 26 Jul 2019 23:42:46 -0400 Subject: [PATCH] Function api created Function api is a set of simple autoloaded functions to create uuids proxying the Uuid class static methods. They provide easy and clean ways of just creating string represented uuids instead of the class. --- composer.json | 5 +++- src/functions.php | 59 +++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 63 insertions(+), 1 deletion(-) create mode 100644 src/functions.php diff --git a/composer.json b/composer.json index ee0162e..5319644 100644 --- a/composer.json +++ b/composer.json @@ -62,7 +62,10 @@ "autoload": { "psr-4": { "Ramsey\\Uuid\\": "src/" - } + }, + "files": [ + "src/functions.php" + ] }, "autoload-dev": { "psr-4": { diff --git a/src/functions.php b/src/functions.php new file mode 100644 index 0000000..d8c194b --- /dev/null +++ b/src/functions.php @@ -0,0 +1,59 @@ +