ILIAS  trunk Revision v12.0_alpha-377-g3641b37b9db
UUIDBasedPathGenerator.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
22
24
32{
33 public function getPathFor(ResourceIdentification $i): string
34 {
35 return str_replace("-", "/", $i->serialize());
36 }
37
39 {
40 return new ResourceIdentification(str_replace("/", "-", $path));
41 }
42}
$path
Definition: ltiservices.php:30