code: private function getOrmMappingDriverFactorySimpleXml(Container $container): callable
      {
          return $container->protect(function (array $mapping, Configuration $config) {
              return new SimplifiedXmlDriver(
                  [$mapping['path'] => $mapping['namespace']],
                  $mapping['extension'] ?? SimplifiedXmlDriver::DEFAULT_FILE_EXTENSION
              );
          });
      }
docs: @param Container $container
  
  @return callable