public function getWebhookQueues(Webhook $webhook) { /** @var \Mautic\WebhookBundle\Entity\WebhookQueueRepository $queueRepo */ $queueRepo = $this->getQueueRepository(); $queues = $queueRepo->getEntities(['iterator_mode' => true, 'start' => $this->webhookStart, 'limit' => $this->webhookLimit, 'orderBy' => 'e.dateAdded', 'filter' => ['force' => [['column' => 'IDENTITY(e.webhook)', 'expr' => 'eq', 'value' => $webhook->getId()]]]]); return $queues; }
/** * {@inheritDoc} */ public function getId() { if ($this->__isInitialized__ === false) { return (int) parent::getId(); } $this->__initializer__ && $this->__initializer__->__invoke($this, 'getId', array()); return parent::getId(); }