1
0
mirror of https://github.com/flextype/flextype.git synced 2025-08-10 07:06:45 +02:00

feat(tokens): update generateID method #566

This commit is contained in:
Awilum
2021-08-07 18:48:08 +03:00
parent 4339f66a59
commit a1c66df4b7

View File

@@ -17,6 +17,13 @@ class Tokens extends Entries
{
use Macroable;
/**
* Generate unique Token ID.
*
* @return string Token ID.
*
* @access public
*/
public function generateID(): string
{
return bin2hex(random_bytes(16));