ILIAS  trunk Revision v11.0_alpha-1744-gb0451eebef4
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
class.SkillInternalRepoService.php
Go to the documentation of this file.
1 <?php
2 
19 declare(strict_types=1);
20 
21 namespace ILIAS\Skill\Service;
22 
27 
33 {
35 
36  public function __construct(SkillInternalFactoryService $factory)
37  {
38  $this->factory = $factory;
39  }
40 
42  {
43  return new \ilSkillLevelDBRepository($this->getTreeRepo());
44  }
45 
47  {
48  return new \ilSkillUserLevelDBRepository();
49  }
50 
51  public function getTreeRepo(): \ilSkillTreeRepository
52  {
53  return new \ilSkillTreeDBRepository($this->factory->tree());
54  }
55 
56  public function getProfileRepo(): Profile\SkillProfileDBRepository
57  {
59  }
60 
62  {
64  }
65 
67  {
69  }
70 
72  {
74  }
75 
77  {
79  }
80 
81  public function getPersonalSkillRepo(): Personal\PersonalSkillDBRepository
82  {
84  }
85 
87  {
89  }
90 
91  public function getResourceRepo(): Resource\SkillResourceDBRepository
92  {
94  }
95 
96  public function getUsageRepo(): Usage\SkillUsageDBRepository
97  {
98  return new Usage\SkillUsageDBRepository();
99  }
100 }
Interface ilSkillLevelRepository.
factory()
Interface ilSkillUserLevelRepository.