19declare(strict_types=1);
36 $unique_id = $this->
factory->uuid4AsString();
37 }
catch (\Exception
$e) {
38 throw new \LogicException(
'Generating uuid failed: ' .
$e->getMessage(),
$e->getCode(),
$e);
46 return preg_match(
'/^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$/', $existing) === 1;
Class ResourceCollectionIdentification.
Class UniqueIDCollectionIdentificationGenerator.
validateScheme(string $existing)
getUniqueResourceCollectionIdentification()
Class CollectionIdentificationGenerator.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
trait UUIDStringTrait
Class UniqueIDCollectionIdentificationGenerator.