'execute', Task::EVENT_CLOSE => 'execute', Task::EVENT_OPEN => 'execute', Task::EVENT_MOVE_COLUMN => 'execute', Task::EVENT_MOVE_SWIMLANE => 'execute', ); } public function execute(TaskEvent $event) { if (isset($event['project_id']) && !$this->isExecuted()) { $this->logger->debug('Subscriber executed: '.__METHOD__); $this->queueManager->push(ProjectMetricJob::getInstance($this->container)->withParams($event['project_id'])); } } }