ILIAS  release_8 Revision v8.24
DummyIDGenerator.php
Go to the documentation of this file.
1<?php
2
19namespace ILIAS\ResourceStorage;
20
25
27{
28 private string $id = 'dummy';
29
33 public function __construct(string $id = 'dummy')
34 {
35 $this->id = $id;
36 }
37
39 {
40 return new ResourceIdentification($this->id);
41 }
42
44 {
45 return new ResourceCollectionIdentification($this->id);
46 }
47
48 public function validateScheme(string $existing): bool
49 {
50 return true;
51 }
52}
__construct(string $id='dummy')
DummyIDGenerator constructor.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...