/**
  * @param ResourceEvent $event
  */
 public function onResourceStart(ResourceEvent $event)
 {
     $this->logger->debug(sprintf('Processing resource %s (%d resources left)', (string) $event->getResource()->getTransport(), $event->getResources()->count()));
 }
 /**
  * @param ResourceEvent $event
  */
 public function onResourceStart(ResourceEvent $event)
 {
     $this->output->writeln(sprintf('Processing resource <info>%s</info> (<comment>%d</comment> resources left)', (string) $event->getResource()->getTransport(), $event->getResources()->count()));
 }