Definition at line 32 of file QuestionPoolDIC.php.
◆ buildDIC()
static ILIAS\TestQuestionPool\QuestionPoolDIC::buildDIC |
( |
ILIASContainer |
$DIC | ) |
|
|
staticprotected |
Definition at line 45 of file QuestionPoolDIC.php.
45 : self
46 {
48 $dic[
'request_data_collector'] =
static fn(
$c): RequestDataCollector =>
49 new RequestDataCollector(
53 );
54 $dic[
'question.repo.suggestedsolutions'] =
static fn(
$c): SuggestedSolutionsDatabaseRepository =>
55 new SuggestedSolutionsDatabaseRepository(
$DIC[
'ilDB']);
56 $dic[
'question.general_properties.repository'] =
static fn(
$c): GeneralQuestionPropertiesRepository =>
57 new GeneralQuestionPropertiesRepository(
59 $DIC[
'component.factory'],
60 $DIC[
'component.repository']
61 );
62 $dic[
'question_files'] = fn(
$c): QuestionFiles =>
63 new QuestionFiles();
64
65 $dic[
'participant_repository'] =
static fn(
$c): ParticipantRepository =>
66 new ParticipantRepository(
$DIC[
'ilDB']);
67 $dic[
'global_test_settings'] =
static fn(
$c): GlobalTestSettings =>
68 (new GlobalTestSettingsRepository(
$DIC[
'ilSetting'], new \
ilSetting(
'assessment')))->getGlobalSettings();
69
71 }
static http()
Fetches the global http state from ILIAS.
References $c, $DIC, and ILIAS\TestQuestionPool\QuestionPoolDIC\$dic.
Referenced by ILIAS\TestQuestionPool\QuestionPoolDIC\dic().
◆ dic()
static ILIAS\TestQuestionPool\QuestionPoolDIC::dic |
( |
| ) |
|
|
static |
◆ $dic
self ILIAS\TestQuestionPool\QuestionPoolDIC::$dic = null |
|
static |
The documentation for this class was generated from the following file: