ILIAS  release_8 Revision v8.19
All Data Structures Namespaces Files Functions Variables Modules Pages
class.InternalRepoService.php
Go to the documentation of this file.
1 <?php
2 
3 declare(strict_types=1);
4 
21 namespace ILIAS\Exercise;
22 
28 {
30  protected \ilDBInterface $db;
32 
33  public function __construct(InternalDataService $data, \ilDBInterface $db)
34  {
35  $this->data = $data;
36  $this->db = $db;
37  $this->submission_repo = new Submission\SubmissionDBRepository($db);
38  }
39 
40  public function assignment(): Assignment\RepoService
41  {
42  return new Assignment\RepoService(
43  $this->data,
44  $this->db
45  );
46  }
47 
48  public function submission(): Submission\SubmissionRepositoryInterface
49  {
51  }
52 }
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Submission SubmissionDBRepository $submission_repo
__construct(InternalDataService $data, \ilDBInterface $db)
Internal factory for data objects.