ILIAS  release_9 Revision v9.13-25-g2c18ec4c24f
class.InternalRepoService.php
Go to the documentation of this file.
1 <?php
2 
3 declare(strict_types=1);
4 
21 namespace ILIAS\Wiki;
22 
26 
31 {
33  protected \ilDBInterface $db;
34 
35  public function __construct(InternalDataService $data, \ilDBInterface $db)
36  {
37  $this->data = $data;
38  $this->db = $db;
39  }
40 
41  public function page(): PageDBRepository
42  {
43  return new PageDBRepository(
44  $this->data,
45  $this->db
46  );
47  }
48 
50  {
51  return new ImportantPageDBRepository(
52  $this->data,
53  $this->db
54  );
55  }
56 
58  {
59  return new MissingPageDBRepository(
60  $this->data,
61  $this->db
62  );
63  }
64 }
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
__construct(InternalDataService $data, \ilDBInterface $db)