ILIAS  release_10 Revision v10.1-43-ga1241a92c2f
ArtifactObjective.php
Go to the documentation of this file.
1 <?php
2 
19 declare(strict_types=1);
20 
21 namespace ILIAS\StaticURL;
22 
24 use ILIAS\Setup;
25 
29 class ArtifactObjective extends Artifact\BuildArtifactObjective
30 {
31 
32  public function getArtifactName(): string
33  {
34  return "static_url_handlers";
35  }
36 
37 
38  public function build(): Setup\Artifact
39  {
40  $implementation_of = new Setup\ImplementationOfInterfaceFinder();
41  $implementations = iterator_to_array(
42  $implementation_of->getMatchingClassNames(Handler\Handler::class)
43  );
44 
45  return new Artifact\ArrayArtifact($implementations);
46  }
47 
48 }
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
An artifact is some file that is build on demand per installation and is not shipped with the ILIAS s...
Definition: Artifact.php:27