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