lib/Doctrine/ORM/Tools/Setup.php
public static function createXMLMetadataConfiguration(array $paths, $isDevMode = false, $proxyDir = null, ?Cache $cache = null)
    {
        $config = self::createConfiguration($isDevMode, $proxyDir, $cache);
        $config->setMetadataDriverImpl(new XmlDriver($paths));

        return $config;
    }
public static function createXMLMetadataConfiguration(array $paths, $isDevMode = false, $proxyDir = null, ?Cache $cache = null)
    {
        $config = self::createConfiguration($isDevMode, $proxyDir, $cache);
        $config->setMetadataDriverImpl(new XmlDriver($paths));

        return $config;
    }
public static function createXMLMetadataConfiguration ( array $ paths , $ isDevMode = false , $ proxyDir = null , ? Cache $ cache = null ) { $ config = self :: createConfiguration ( $ isDevMode , $ proxyDir , $ cache ) ; $ config -> setMetadataDriverImpl ( new XmlDriver ( $ paths ) ) ; return $ config ; }
Creates a configuration with a xml metadata driver.

@param string[] $paths
@param bool     $isDevMode
@param string   $proxyDir

@return Configuration
Creates a configuration with a xml metadata driver .