reasonableframework/route/api.newuuid.php

15 lines
277 B
PHP
Raw Normal View History

2018-08-19 14:00:10 +00:00
<?php
/**
* @file api.newuuid.php
* @date 2018-08-19
* @author Go Namhyeon <gnh1201@gmail.com>
* @brief UUID Generator API
*/
2018-08-24 15:00:30 +00:00
if(!defined("_DEF_RSF_")) set_error_exit("do not allow access");
2018-08-19 14:00:10 +00:00
loadHelper("UUID.class");
$uuid = UUID::v4();
echo get_callable_token($uuid);