ILIAS  trunk Revision v11.0_alpha-1723-g8e69f309bab
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
ArtifactObjective.php
Go to the documentation of this file.
1 <?php
2 
19 declare(strict_types=1);
20 
21 namespace ILIAS\StaticURL;
22 
28 
33 {
34  public function getArtifactName(): string
35  {
36  return "static_url_handlers";
37  }
38 
39 
40  public function build(): Artifact
41  {
42  $implementation_of = new ImplementationOfInterfaceFinder();
43  $implementations = iterator_to_array(
44  $implementation_of->getMatchingClassNames(Handler::class)
45  );
46 
47  return new ArrayArtifact($implementations);
48  }
49 
50 }
This is an objective to build some artifact.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
An array as an artifact.
An artifact is some file that is build on demand per installation and is not shipped with the ILIAS s...
Definition: Artifact.php:27