def METHOD_NAME(self, name):
    """
    Return a class for the requested provider.
    :rtype: provider class or ``None``
    :return: A class corresponding to the requested provider or ``None``
             if the provider was not found.
    """
    log.debug("Returning a class for the %s provider", name)
    impl = self.list_providers().get(name)
    if impl:
        log.debug("Returning provider class for %s", name)
        return impl["class"]
    else:
        log.debug("Provider with the name: %s not found", name)
        return None