Exemplo n.º 1
0
 /**
  * @param ServiceEvent $event
  */
 public function onCacheLoaded(ServiceEvent $event)
 {
     $service = $event->getService();
     if (!$this->isEligibile($service)) {
         return;
     }
     $serviceHashKey = $service->getHashKey();
     $this->queueWriter->addItem($serviceHashKey, $serviceHashKey);
 }