ILIAS  release_8 Revision v8.19-1-g4e8f2f9140c
All Data Structures Namespaces Files Functions Variables Modules Pages
class.ilTaskServiceDependencies.php
Go to the documentation of this file.
1 <?php
2 
20 
27 {
28  protected ilLanguage $lng;
29 
30  protected UIServices $ui;
31 
32  protected ilObjUser $user;
33 
35 
37 
41  public function __construct(
42  ilObjUser $user,
43  ilLanguage $lng,
44  UIServices $ui,
45  ilAccessHandler $access,
46  ilDerivedTaskProviderMasterFactory $derived_task_provider_master_factory
47  ) {
48  $this->lng = $lng;
49  $this->ui = $ui;
50  $this->user = $user;
51  $this->access = $access;
52  $this->derived_task_provider_master_factory = $derived_task_provider_master_factory;
53  }
54 
59  {
61  }
62 
66  public function language(): ilLanguage
67  {
68  return $this->lng;
69  }
70 
74  public function user(): ilObjUser
75  {
76  return $this->user;
77  }
78 
82  public function ui(): UIServices
83  {
84  return $this->ui;
85  }
86 
90  protected function getAccess(): ilAccessHandler
91  {
92  return $this->access;
93  }
94 }
ilDerivedTaskProviderMasterFactory $derived_task_provider_master_factory
__construct(ilObjUser $user, ilLanguage $lng, UIServices $ui, ilAccessHandler $access, ilDerivedTaskProviderMasterFactory $derived_task_provider_master_factory)
Constructor.
Provides fluid interface to RBAC services.
Definition: UIServices.php:23
getDerivedTaskProviderMasterFactory()
Get derived task provider master factory.