ILIAS  trunk Revision v11.0_alpha-2645-g16283d3b3f8
DummyIDGenerator.php
Go to the documentation of this file.
1 <?php
2 
19 namespace 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 }
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
$id
plugin.php for ilComponentBuildPluginInfoObjectiveTest::testAddPlugins
Definition: plugin.php:23
__construct(private string $id='dummy')
DummyIDGenerator constructor.