ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
class.ContentIdGenerator.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
22
27{
28 public function __construct()
29 {
30 }
31
32 public function generate(): string
33 {
34 $random = new \Random\Randomizer();
35 return md5((string) ($random->getInt(1, 9999999) + str_replace(" ", "", (string) microtime())));
36 }
37}