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.
References $c, and ILIAS\TestQuestionPool\QuestionPoolDIC\$dic.
   48         $dic[
'request_data_collector'] = 
static fn(
$c): RequestDataCollector =>
    49             new RequestDataCollector(
    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']
    62         $dic[
'question_files'] = fn(
$c): QuestionFiles =>
    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();
 
static http()
Fetches the global http state from ILIAS. 
 
 
 
 
◆ 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: