ILIAS  trunk Revision v12.0_alpha-377-g3641b37b9db
ILIAS\ApacheAuth\UsernameProvider\CollectUsernameProvidersObjective Class Reference
+ Inheritance diagram for ILIAS\ApacheAuth\UsernameProvider\CollectUsernameProvidersObjective:
+ Collaboration diagram for ILIAS\ApacheAuth\UsernameProvider\CollectUsernameProvidersObjective:

Public Member Functions

 __construct (private readonly array $contributions)
 
 getArtifactName ()
 
 build ()
 

Detailed Description

Definition at line 25 of file CollectUsernameProvidersObjective.php.

Constructor & Destructor Documentation

◆ __construct()

ILIAS\ApacheAuth\UsernameProvider\CollectUsernameProvidersObjective::__construct ( private readonly array  $contributions)
Parameters
list<UsernameProvider>$contributions

Definition at line 30 of file CollectUsernameProvidersObjective.php.

32 {
33 }

Member Function Documentation

◆ build()

ILIAS\ApacheAuth\UsernameProvider\CollectUsernameProvidersObjective::build ( )

Definition at line 40 of file CollectUsernameProvidersObjective.php.

40 : Artifact
41 {
42 return new Artifact\ArrayArtifact(
43 array_map(
44 static fn(UsernameProvider $p): string => $p::class,
45 $this->contributions
46 )
47 );
48 }

◆ getArtifactName()

ILIAS\ApacheAuth\UsernameProvider\CollectUsernameProvidersObjective::getArtifactName ( )

Definition at line 35 of file CollectUsernameProvidersObjective.php.

35 : string
36 {
37 return 'apache_auth_username_providers';
38 }

The documentation for this class was generated from the following file: