ILIAS  release_7 Revision v7.30-3-g800a261c036
class.ilDummyDerivedTaskProviderFactory.php
Go to the documentation of this file.
1<?php
2
3/* Copyright (c) 1998-2019 ILIAS open source, Extended GPL, see docs/LICENSE */
4
11{
15 protected $task_service;
16
20 public function __construct()
21 {
22 }
23
30 {
31 $this->task_service = $task_service;
32 }
33
34
38 public function getProviders() : array
39 {
40 return [
41 new ilDummyDerivedTaskProvider($this->task_service)
42 ];
43 }
44}
An exception for terminatinating execution or to throw for unit testing.
setTaskService(ilTaskService $task_service)
Set task service.
getProviders()
Get providers.ilDerivedTaskProvider[]