ILIAS  trunk Revision v12.0_alpha-16-g3e876e53c80
EndpointFactory.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
21namespace ILIAS\User\Search;
22
23use ILIAS\User\Profile\Fields\ConfigurationRepository as FieldConfigurationRepository;
24use ILIAS\User\Profile\DataRepository as ProfileDataRepository;
25use ILIAS\User\Settings\DataRepository as SettingsDataRepository;
26use ILIAS\Data\Factory as DataFactory;
27use ILIAS\HTTP\Services as HttpService;
28use ILIAS\Refinery\Factory as Refinery;
29
31{
32 public function __construct(
33 private readonly FieldConfigurationRepository $field_configuration_repository,
34 private readonly ProfileDataRepository $profile_data_repository,
35 private readonly SettingsDataRepository $settings_data_repository,
36 private readonly \ilObjUser $current_user,
37 private readonly HttpService $http,
38 private readonly Refinery $refinery,
39 private readonly \ilCtrl $ctrl,
40 private readonly DataFactory $data_factory
41 ) {
42 }
43
44 public function getEndpointGUI(
45 EndpointConfigurator $endpoint_configurator
46 ): EndpointGUI {
48 $this->field_configuration_repository,
49 $this->profile_data_repository,
50 $this->settings_data_repository,
51 $this->current_user,
52 $this->http,
53 $this->refinery,
54 $this->ctrl,
55 $this->data_factory,
56 $endpoint_configurator
57 );
58 }
59}
Builds data types.
Definition: Factory.php:36
Class Services.
Definition: Services.php:38
getEndpointGUI(EndpointConfigurator $endpoint_configurator)
__construct(private readonly FieldConfigurationRepository $field_configuration_repository, private readonly ProfileDataRepository $profile_data_repository, private readonly SettingsDataRepository $settings_data_repository, private readonly \ilObjUser $current_user, private readonly HttpService $http, private readonly Refinery $refinery, private readonly \ilCtrl $ctrl, private readonly DataFactory $data_factory)
Class ilCtrl provides processing control methods.
User class.
$http
Definition: deliver.php:30
return['delivery_method'=> 'php',]
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.