reasonableframework/route/api.uuid.php

15 lines
276 B
PHP

<?php
/**
* @file api.uuid.php
* @date 2018-08-19
* @author Go Namhyeon <abuse@catswords.net>
* @brief UUID Generator API
*/
if(!defined("_DEF_RSF_")) set_error_exit("do not allow access");
loadHelper("UUID.class");
$uuid = UUID::v4();
echo get_callable_token($uuid);