ILIAS  release_10 Revision v10.1-43-ga1241a92c2f
class.SkillInternalService.php
Go to the documentation of this file.
1 <?php
2 
3 declare(strict_types=1);
4 
22 namespace ILIAS\Container\Skills;
23 
24 use ILIAS\HTTP;
25 use ILIAS\Refinery;
26 
31 {
32  protected HTTP\Services $http;
33  protected Refinery\Factory $refinery;
34 
35  public function __construct()
36  {
37  global $DIC;
38 
39  $this->http = $DIC->http();
40  $this->refinery = $DIC->refinery();
41  }
42 
43  public function repo(): SkillInternalRepoService
44  {
45  return new SkillInternalRepoService();
46  }
47 
49  {
50  return new SkillInternalManagerService();
51  }
52 
57  {
58  return new SkillInternalFactoryService();
59  }
60 
61  public function gui(
62  array $query_params = null,
63  array $post_data = null
65  return new SkillInternalGUIService(
66  $this->http,
67  $this->refinery,
68  $query_params = null,
69  $post_data = null
70  );
71  }
72 }
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
static http()
Fetches the global http state from ILIAS.
global $DIC
Definition: shib_login.php:25
gui(array $query_params=null, array $post_data=null)