ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
UniqueIDIdentificationGenerator.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
22
29{
31
36 {
37 $unique_id = null;
38 try {
39 $unique_id = $this->factory->uuid4AsString();
40 } catch (\Exception $e) {
41 throw new \LogicException('Generating uuid failed: ' . $e->getMessage(), $e->getCode(), $e);
42 } finally {
43 return new ResourceIdentification($unique_id);
44 }
45 }
46}
factory()
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
trait UUIDStringTrait
Class UniqueIDCollectionIdentificationGenerator.