*/ class SetUpQueueTasks extends InstallAction { public function __invoke($params) { /** @var TaskLogInterface|ConfigurableService $taskLogService */ $taskLogService = $this->getServiceManager()->get(TaskLogInterface::SERVICE_ID); $taskLogService->linkTaskToCategory(AbstractIrregularityReport::class, TaskLogInterface::CATEGORY_EXPORT); $this->registerService(TaskLogInterface::SERVICE_ID, $taskLogService); return \common_report_Report::createSuccess('Task(s) successfully set up.'); } }