19 $userTasks = explode(
",", $request->get(
'tasks'));
20 $identificator = $request->get(
'identificator');
24 foreach ($userTasks as $task)
31 $newTask =
new Task();
34 $inputValue->setIdentificator($identificator);
35 $inputValue->setValue(trim($task));
37 $newTask->setPoolId($request->get(
'id'));
38 $newTask->setInputValues($inputValue);
39 $newTask->setOverlap($defaults->getOverlapForNewTasks());
45 $taskSuite->setPoolId($request->get(
'id'));
46 $taskSuite->setTasks($tasks);