70 $dic[
'title_columns_builder'] =
static fn(
$c): TitleColumnsBuilder =>
71 new TitleColumnsBuilder(
72 $c[
'question.general_properties.repository'],
81 $dic[
'results.data.factory'] =
static fn(
$c): ResultsDataFactory =>
82 new ResultsDataFactory(
98 $dic[
'results.toplist.repository'] =
static fn(
$c): TestTopListRepository =>
99 new TestTopListRepository(
$DIC[
'ilDB']);
101 $dic[
'results.data.test_result_repository'] =
static fn(
$c): TestResultRepository =>
102 new TestResultRepository(
$DIC[
'ilDB']);
104 $dic[
'settings.main.repository'] =
static fn(
$c): MainSettingsRepository =>
105 new MainSettingsDatabaseRepository(
$DIC[
'ilDB']);
110 $dic[
'scoring.manual.done_helper'] =
static fn(
$c): TestManScoringDoneHelper =>
111 new TestManScoringDoneHelper();
113 $dic[
'marks.repository'] =
static fn(
$c): MarksRepository =>
114 new MarksDatabaseRepository(
$DIC[
'ilDB']);
116 $dic[
'request_data_collector'] =
static fn(
$c): RequestDataCollector =>
117 new RequestDataCollector(
122 $dic[
'response_handler'] =
static fn(
$c): ResponseHandler =>
123 new ResponseHandler(
$DIC[
'http'], );
125 $dic[
'settings.global.repository'] =
static fn(
$c): GlobalSettingsRepository =>
126 new GlobalSettingsRepository(
$DIC[
'ilSetting'], new \
ilSetting(
'assessment'));
128 $dic[
'logging.settings'] =
static fn(
$c): TestLoggingSettings =>
129 $c[
'settings.global.repository']->getLoggingSettings();
131 $dic[
'logging.factory'] =
static fn(
$c): InteractionFactory =>
132 new InteractionFactory();
134 $dic[
'logging.repository'] =
static fn(
$c): TestLoggingRepository =>
135 new TestLoggingDatabaseRepository(
136 $c[
'logging.factory'],
140 $dic[
'logging.logger'] =
static fn(
$c): TestLogger =>
142 $c[
'logging.settings'],
143 $c[
'logging.repository'],
144 $c[
'logging.factory'],
145 new Logging\AdditionalInformationGenerator(
150 $c[
'question.general_properties.repository']
155 $dic[
'logging.viewer'] =
static fn(
$c): TestLogViewer =>
157 $c[
'logging.repository'],
158 $c[
'logging.logger'],
159 $c[
'title_columns_builder'],
160 $c[
'question.general_properties.repository'],
161 $DIC[
'http']->request(),
162 $DIC[
'http']->wrapper()->query(),
169 $DIC[
'file_delivery']->delivery(),
179 $c[
'logging.logger'],
181 $DIC[
'component.repository'],
182 $DIC[
'component.factory'],
183 $DIC[
'file_delivery'],
185 $c[
'question.general_properties.repository']
193 $dic[
'questions.properties.repository'] =
static fn(
$c): TestQuestionsRepository =>
194 new TestQuestionsDatabaseRepository(
196 $c[
'question.general_properties.repository']
199 $dic[
'question.general_properties.repository'] =
static fn(
$c): GeneralQuestionPropertiesRepository =>
200 new GeneralQuestionPropertiesRepository(
202 $DIC[
'component.factory'],
203 $DIC[
'component.repository']
213 $dic[
'participant.repository'] =
static fn(
$c): ParticipantRepository =>
214 new ParticipantRepository(
$DIC[
'ilDB']);
static http()
Fetches the global http state from ILIAS.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...