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']);
105 $c[
'marks.repository'],
109 $dic[
'settings.main.repository'] =
static fn(
$c): MainSettingsRepository =>
110 new MainSettingsDatabaseRepository(
$DIC[
'ilDB']);
115 $dic[
'scoring.manual.done_helper'] =
static fn(
$c): TestManScoringDoneHelper =>
116 new TestManScoringDoneHelper();
118 $dic[
'marks.repository'] =
static fn(
$c): MarksRepository =>
119 new MarksDatabaseRepository(
$DIC[
'ilDB']);
121 $dic[
'request_data_collector'] =
static fn(
$c): RequestDataCollector =>
122 new RequestDataCollector(
127 $dic[
'response_handler'] =
static fn(
$c): ResponseHandler =>
128 new ResponseHandler(
$DIC[
'http'], );
130 $dic[
'settings.global.repository'] =
static fn(
$c): GlobalSettingsRepository =>
131 new GlobalSettingsRepository(
$DIC[
'ilSetting'], new \
ilSetting(
'assessment'));
133 $dic[
'logging.settings'] =
static fn(
$c): TestLoggingSettings =>
134 $c[
'settings.global.repository']->getLoggingSettings();
136 $dic[
'logging.factory'] =
static fn(
$c): InteractionFactory =>
137 new InteractionFactory();
139 $dic[
'logging.repository'] =
static fn(
$c): TestLoggingRepository =>
140 new TestLoggingDatabaseRepository(
141 $c[
'logging.factory'],
145 $dic[
'logging.logger'] =
static fn(
$c): TestLogger =>
147 $c[
'logging.settings'],
148 $c[
'logging.repository'],
149 $c[
'logging.factory'],
150 new Logging\AdditionalInformationGenerator(
155 $c[
'question.general_properties.repository']
160 $dic[
'logging.viewer'] =
static fn(
$c): TestLogViewer =>
162 $c[
'logging.repository'],
163 $c[
'logging.logger'],
164 $c[
'title_columns_builder'],
165 $c[
'question.general_properties.repository'],
166 $DIC[
'http']->request(),
167 $DIC[
'http']->wrapper()->query(),
174 $DIC[
'file_delivery']->delivery(),
184 $c[
'logging.logger'],
186 $DIC[
'component.repository'],
187 $DIC[
'component.factory'],
188 $DIC[
'file_delivery'],
190 $c[
'question.general_properties.repository'],
191 $DIC[
'resource_storage'],
199 $dic[
'questions.properties.repository'] =
static fn(
$c): TestQuestionsRepository =>
200 new TestQuestionsDatabaseRepository(
202 $c[
'question.general_properties.repository']
205 $dic[
'question.general_properties.repository'] =
static fn(
$c): GeneralQuestionPropertiesRepository =>
206 new GeneralQuestionPropertiesRepository(
208 $DIC[
'component.factory'],
209 $DIC[
'component.repository']
219 $dic[
'participant.repository'] =
static fn(
$c): ParticipantRepository =>
220 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...