ILIAS
trunk Revision v12.0_alpha-377-g3641b37b9db
◀ ilDoc Overview
CollectUsernameProvidersObjective.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=1);
20
21
namespace
ILIAS\ApacheAuth\UsernameProvider
;
22
23
use
ILIAS\Setup\Artifact
;
24
25
class
CollectUsernameProvidersObjective
extends
Artifact\BuildArtifactObjective
26
{
30
public
function
__construct
(
31
private
readonly array $contributions
32
) {
33
}
34
35
public
function
getArtifactName
(): string
36
{
37
return
'apache_auth_username_providers'
;
38
}
39
40
public
function
build
():
Artifact
41
{
42
return
new
Artifact\ArrayArtifact
(
43
array_map(
44
static
fn(
UsernameProvider
$p):
string
=> $p::class,
45
$this->contributions
46
)
47
);
48
}
49
}
ILIAS\ApacheAuth\UsernameProvider\CollectUsernameProvidersObjective
Definition:
CollectUsernameProvidersObjective.php:26
ILIAS\ApacheAuth\UsernameProvider\CollectUsernameProvidersObjective\__construct
__construct(private readonly array $contributions)
Definition:
CollectUsernameProvidersObjective.php:30
ILIAS\ApacheAuth\UsernameProvider\CollectUsernameProvidersObjective\getArtifactName
getArtifactName()
Definition:
CollectUsernameProvidersObjective.php:35
ILIAS\ApacheAuth\UsernameProvider\CollectUsernameProvidersObjective\build
build()
Definition:
CollectUsernameProvidersObjective.php:40
ILIAS\Setup\Artifact\ArrayArtifact
An array as an artifact.
Definition:
ArrayArtifact.php:29
ILIAS\Setup\Artifact\BuildArtifactObjective
This is an objective to build some artifact.
Definition:
BuildArtifactObjective.php:34
ILIAS\ApacheAuth\UsernameProvider\UsernameProvider
Definition:
UsernameProvider.php:26
ILIAS\Setup\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
ILIAS\ApacheAuth\UsernameProvider
Definition:
CollectUsernameProvidersObjective.php:21
ILIAS\Setup\Artifact
Definition:
ArrayArtifact.php:21
components
ILIAS
AuthApache
src
UsernameProvider
CollectUsernameProvidersObjective.php
Generated on Sat Dec 13 2025 23:01:46 for ILIAS by
1.9.4 (using
Doxyfile
)