/** * @param SourceEvent $event */ public function onSourceProcess(SourceEvent $event) { $this->queueManager->addForObject(SourceProcessExecutor::NAME, $event->getSource()); }
/** * @param SourceEvent $event */ public function onScrapeRevisitSource(SourceEvent $event) { $this->queueManager->addForObject(ScrapeRevisitSourceExecutor::NAME, $event->getSource()); }