private function immediateNotification(&$group, &$item)
    {
        $item->complete();

        $immediateNotification = false;

        if (is_object($group) === true) {
            if (intval($group->group_notifications) === 0) {
                $immediateNotification = true;
            }
        } else {
            $immediateNotification = true;
        }
        if ($immediateNotification === true) {
            $this->trigger(
                self::EVENT_DEFERRED_QUEUE_COMPLETE,
                new DeferredQueueCompleteEvent($item)
            );
        }
    }