ILIAS  release_8 Revision v8.19
All Data Structures Namespaces Files Functions Variables Modules Pages
class.RepoService.php
Go to the documentation of this file.
1 <?php
2 
3 declare(strict_types=1);
4 
21 namespace ILIAS\Container\Content;
22 
24 
30 {
32  protected \ilDBInterface $db;
33 
34  public function __construct(InternalDataService $data, \ilDBInterface $db)
35  {
36  $this->data = $data;
37  $this->db = $db;
38  }
39 
40  public function item(): ItemSessionRepository
41  {
42  return new ItemSessionRepository();
43  }
44 
45  public function view(): ViewSessionRepository
46  {
47  return new ViewSessionRepository();
48  }
49 
50  public function block(): BlockSessionRepository
51  {
52  return new BlockSessionRepository();
53  }
54 }
__construct(InternalDataService $data, \ilDBInterface $db)
Repository internal data service.
Repository internal repo service.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...