ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
ArtifactObjective.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
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}
An array as an artifact.
This is an objective to build some artifact.
build()
Build the artifact based.
getArtifactName()
Get the filename where the builder wants to put its artifact.
An artifact is some file that is build on demand per installation and is not shipped with the ILIAS s...
Definition: Artifact.php:28
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...