setConfigFile(new \OxidEsales\Eshop\Core\ConfigFile('./source/config.inc.php')); $method = new ReflectionMethod(get_class($dbprovider), "getConnectionParameters"); $method->setAccessible(true); $connParameters = $method->invoke($dbprovider); $database = new \OxidEsales\Eshop\Core\Database\Adapter\Doctrine\Database(); $database->setConnectionParameters($connParameters); $method = new ReflectionMethod(get_class($database), "getConnectionParameters"); $method->setAccessible(true); return $method->invoke($database);