private static function response(ContainerInterface $container): ResponseInterface
    {
        if (!$container->has(ResponseInterface::class)) {
            throw new InvalidArgumentException('Moon received an invalid response instance from the container');
        }

        return $container->get(ResponseInterface::class);
    }