/**
  * @param FailedItemEvent $event
  */
 public function onItemFailed(FailedItemEvent $event)
 {
     $this->logger->warning(sprintf('✘   failed: %s', (string) $event->getItem()));
     $this->logger->debug(sprintf('    reason: %s', $event->getReason()));
 }
 /**
  * @param FailedItemEvent $event
  */
 public function onItemFailed(FailedItemEvent $event)
 {
     $this->output->writeln(sprintf('<fg=red;options=bold>✘   failed</>: <comment>%s</comment>', (string) $event->getItem()));
     $this->output->writeln(sprintf('<fg=red;options=bold>    reason</>: %s', $event->getReason()));
 }