Ejemplo n.º 1
0
 /**
  * {@inheritdoc}
  */
 public function process(QueryMessage $message, callable $next)
 {
     $name = $message->payloadType()->toString();
     $this->logger->info(sprintf('Query received {%s}', $name), ['message' => $message->toString()]);
     $next($message);
     $this->logger->info(sprintf('Query handled {%s}', $name), ['message' => $message->toString()]);
 }