src/Tomahawk/CommandBus/CommandHandlerResolver.php
public function resolve(CommandInterface $command)
    {
        $handlerClass = $this->getHandlerClass($command);

        try {
            $handler = $this->container->get($handlerClass);
            return $handler;
        }
        catch(\Exception $e) {
            return null;
        }
    }
public function resolve(CommandInterface $command)
    {
        $handlerClass = $this->getHandlerClass($command);

        try {
            $handler = $this->container->get($handlerClass);
            return $handler;
        }
        catch(\Exception $e) {
            return null;
        }
    }
Resolve handler for command

@param CommandInterface $command
@return CommandHandlerInterface