src/Bus/Middleware/CommandLoggerMiddleware.php
public function execute($command, callable $next)
    {
        $command_name = get_class($command);

        $this->logger->info("executing {$command_name}");

        $return_value = $next($command);

        $this->logger->info("{$command_name} executed with no error");

        return $return_value;
    }
public function execute($command, callable $next)
    {
        $command_name = get_class($command);

        $this->logger->info("executing {$command_name}");

        $return_value = $next($command);

        $this->logger->info("{$command_name} executed with no error");

        return $return_value;
    }
{@inheritdoc}