ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
DummyIDGenerator.php
Go to the documentation of this file.
1<?php
2
19namespace ILIAS\ResourceStorage;
20
25
27{
31 public function __construct(private string $id = 'dummy')
32 {
33 }
34
36 {
37 return new ResourceIdentification($this->id);
38 }
39
41 {
42 return new ResourceCollectionIdentification($this->id);
43 }
44
45 public function validateScheme(string $existing): bool
46 {
47 return true;
48 }
49}
$id
plugin.php for ilComponentBuildPluginInfoObjectiveTest::testAddPlugins
Definition: plugin.php:23
__construct(private string $id='dummy')
DummyIDGenerator constructor.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...