ILIAS  release_10 Revision v10.1-43-ga1241a92c2f
class.InternalRepoService.php
Go to the documentation of this file.
1 <?php
2 
3 declare(strict_types=1);
4 
21 namespace ILIAS\Container;
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 content(): Content\RepoService
41  {
42  return new Content\RepoService(
43  $this->data,
44  $this->db
45  );
46  }
47 
48  public function classification(int $base_ref_id): ClassificationSessionRepository
49  {
50  return new ClassificationSessionRepository(
51  $base_ref_id
52  );
53  }
54 }
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Repository internal data service.
Repository internal repo service.
__construct(InternalDataService $data, \ilDBInterface $db)