ILIAS  trunk Revision v11.0_alpha-1715-g7fc467680fb
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
class.GUIService.php
Go to the documentation of this file.
1 <?php
2 
19 declare(strict_types=1);
20 
22 
26 
31 {
32  protected InternalGUIService $gui_service;
34 
35  public function __construct(
36  InternalDomainService $domain_service,
37  InternalGUIService $gui_service
38  ) {
39  $this->gui_service = $gui_service;
40  $this->domain_service = $domain_service;
41  }
42 
44  {
45  return new \ilMediaObjectsPlayerWrapperGUI(
46  $this->domain_service,
47  $this->gui_service
48  );
49  }
50 
51  public function request(): PlayerGUIRequest
52  {
53  return new PlayerGUIRequest(
54  $this->gui_service->http(),
55  $this->domain_service->refinery()
56  );
57  }
58 }
__construct(InternalDomainService $domain_service, InternalGUIService $gui_service)