'handleEvent', TaskModel::EVENT_CREATE => 'handleEvent', TaskModel::EVENT_UPDATE => 'handleEvent', TaskModel::EVENT_CLOSE => 'handleEvent', TaskModel::EVENT_OPEN => 'handleEvent', TaskModel::EVENT_MOVE_COLUMN => 'handleEvent', TaskModel::EVENT_MOVE_POSITION => 'handleEvent', TaskModel::EVENT_MOVE_SWIMLANE => 'handleEvent', TaskModel::EVENT_ASSIGNEE_CHANGE => 'handleEvent', SubtaskModel::EVENT_CREATE => 'handleEvent', SubtaskModel::EVENT_UPDATE => 'handleEvent', CommentModel::EVENT_CREATE => 'handleEvent', CommentModel::EVENT_UPDATE => 'handleEvent', CommentModel::EVENT_USER_MENTION => 'handleEvent', TaskFileModel::EVENT_CREATE => 'handleEvent', ); } public function handleEvent(GenericEvent $event, $eventName) { if (!$this->isExecuted($eventName)) { $this->logger->debug('Subscriber executed: ' . __METHOD__); $this->queueManager->push(NotificationJob::getInstance($this->container) ->withParams($event, $eventName, get_class($event)) ); } } }