com\setasign\Konquadrat\Task

TaskProcessor

File: /Konquadrat/src/Task/TaskProcessor.php

Class hierarchy

Summary

Properties

$eventManager

$history

$languageManager

$transactionManager


Methods

processTask()

This method will process the given task.

It will handle the history origin & taskId and will set the TaskIsRunning flag. The method will register a shutdown function for the case the process will die. The only thing we can't catch are SIGTERM/SIGKILL signals or segmentation faults. If something like this happens you have to use the deactivateTaskIsRunningFlag action.

Parameters
$task: \com\setasign\Konquadrat\Object\Custom\TaskTplObject
 
Exceptions

Throws TaskException

Throws \InvalidArgumentException