private function getOrmMappingDriverFactoryClassMap(Container $container): callable
    {
        return $container->protect(function (array $mapping, Configuration $config) {
            return new ClassMapDriver($mapping['map']);
        });
    }
private function getOrmMappingDriverFactoryClassMap(Container $container): callable
    {
        return $container->protect(function (array $mapping, Configuration $config) {
            return new ClassMapDriver($mapping['map']);
        });
    }
@param Container $container

@return callable