ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
class.RepoService.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
22
24
30{
31 protected \ilDBInterface $db;
33
34 public function __construct(
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}
Stores info about random assignments for users in exercises.
__construct(InternalDataService $data, \ilDBInterface $db)
Internal factory for data objects.
Interface ilDBInterface.