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 runSession(): RunSessionRepo
43 {
44 return new RunSessionRepo();
45 }
46
47 public function run(): RunDBRepository
48 {
49 return new RunDBRepository(
50 $this->data,
51 $this->db
52 );
53 }
54}
__construct(InternalDataService $data, \ilDBInterface $db)
Stores access codes of anonymous session.
Interface ilDBInterface.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...