19 declare(strict_types=1);
55 public static function dic(): self
68 new \ilTestShuffler($DIC[
'refinery']);
72 $c[
'question.general_properties.repository'],
81 $dic[
'results.data.factory'] =
static fn(
$c): ResultsDataFactory =>
82 new ResultsDataFactory(
105 $c[
'marks.repository'],
113 new \ilTestParticipantAccessFilterFactory($DIC[
'ilAccess']);
130 $dic[
'settings.global.repository'] =
static fn(
$c): GlobalSettingsRepository =>
131 new GlobalSettingsRepository($DIC[
'ilSetting'],
new \
ilSetting(
'assessment'));
134 $c[
'settings.global.repository']->getLoggingSettings();
136 $dic[
'logging.factory'] =
static fn(
$c): InteractionFactory =>
137 new InteractionFactory();
141 $c[
'logging.factory'],
147 $c[
'logging.settings'],
148 $c[
'logging.repository'],
149 $c[
'logging.factory'],
150 new Logging\AdditionalInformationGenerator(
155 $c[
'question.general_properties.repository']
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']
208 $DIC[
'component.factory'],
209 $DIC[
'component.repository']
static getLogger(string $a_component_id)
Get component logger.
while($session_entry=$r->fetchRow(ilDBConstants::FETCHMODE_ASSOC)) return null
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
static buildDIC(ILIASContainer $DIC)