32 protected \ILIAS\BackgroundTasks\Dependencies\Injector
$injector;
42 public function createTask(
string $class_name, ?array $input = null):
Task 44 if (!class_exists($class_name)) {
48 $task = $this->injector->createInstance($class_name);
51 if ($i instanceof
Task) {
52 return $i->getOutput();
54 if ($i instanceof
Value) {
58 return $this->wrapValue($i);
61 $task->setInput($wrappedInput);
ILIAS BackgroundTasks Dependencies Injector $injector
createTask(string $class_name, ?array $input=null)
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Interface Observer Contains several chained tasks and infos about them.
__construct(Injector $injector)
Class NotFoundUserInteraction.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...