ILIAS  trunk Revision v11.0_alpha-1769-g99a433fe2dc
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
class.RepoService.php
Go to the documentation of this file.
1 <?php
2 
19 declare(strict_types=1);
20 
22 
24 
30 {
31  protected \ilDBInterface $db;
33 
34  public function __construct(
35  InternalDataService $data,
36  \ilDBInterface $db
37  ) {
38  $this->db = $db;
39  $this->data = $data;
40  }
41 
42  public function randomAssignments(): Mandatory\RandomAssignmentsDBRepository
43  {
45  $this->data,
46  $this->db
47  );
48  }
49 
51  {
52  return new AssignmentsDBRepository(
53  $this->data,
54  $this->db
55  );
56  }
57 
58 }
__construct(InternalDataService $data, \ilDBInterface $db)
Stores info about random assignments for users in exercises.
Internal factory for data objects.