ILIAS  release_7 Revision v7.30-3-g800a261c036
SkillService.php
Go to the documentation of this file.
1<?php
2
3/* Copyright (c) 1998-2020 ILIAS open source, Extended GPL, see docs/LICENSE */
4
5namespace ILIAS\Skill\Service;
6
12{
16 public function __construct()
17 {
18 }
19
24 public function user(int $id) : SkillUserService
25 {
26 return new SkillUserService($id);
27 }
28
32 public function ui() : SkillUIService
33 {
34 return new SkillUIService();
35 }
36
40 public function internal() : SkillInternalService
41 {
42 return new SkillInternalService();
43 }
44}
An exception for terminatinating execution or to throw for unit testing.