ILIAS  release_7 Revision v7.30-3-g800a261c036
class.ilTaskServiceDependencies.php
Go to the documentation of this file.
1<?php
2
3/* Copyright (c) 1998-2018 ILIAS open source, Extended GPL, see docs/LICENSE */
4
12{
16 protected $lng;
17
21 protected $ui;
22
26 protected $user;
27
31 protected $access;
32
37
44 public function __construct(
47 \ILIAS\DI\UIServices $ui,
50 ) {
51 $this->lng = $lng;
52 $this->ui = $ui;
53 $this->user = $user;
54 $this->access = $access;
55 $this->derived_task_provider_master_factory = $derived_task_provider_master_factory;
56 }
57
64 {
66 }
67
73 public function language() : \ilLanguage
74 {
75 return $this->lng;
76 }
77
83 public function user() : \ilObjUser
84 {
85 return $this->user;
86 }
87
93 public function ui() : \ILIAS\DI\UIServices
94 {
95 return $this->ui;
96 }
97
103 protected function getAccess() : \ilAccessHandler
104 {
105 return $this->access;
106 }
107}
An exception for terminatinating execution or to throw for unit testing.
language handling
getDerivedTaskProviderMasterFactory()
Get derived task provider master factory.
__construct(ilObjUser $user, ilLanguage $lng, \ILIAS\DI\UIServices $ui, \ilAccessHandler $access, \ilDerivedTaskProviderMasterFactory $derived_task_provider_master_factory)
Constructor.
Interface ilAccessHandler.
Class HTTPServicesTest.
Class ChatMainBarProvider \MainMenu\Provider.