Skip to content
Snippets Groups Projects
Commit d828a519 authored by Benjamin Mack's avatar Benjamin Mack Committed by Christian Kuhn
Browse files

[FOLLOWUP][FEATURE] Extract dependency ordering out of DependencyResolver

The dependency order resolver needs to be injected at runtime.

Resolves: #67293
Releases: master
Change-Id: Id7f2b65b0258e22081d326f06d3d13f874bea1ff
Reviewed-on: http://review.typo3.org/40729


Reviewed-by: default avatarAnja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: default avatarAnja Leichsenring <aleichsenring@ab-softlab.de>
Reviewed-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
Tested-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
parent 591d86aa
Branches
Tags
No related merge requests found
......@@ -397,7 +397,9 @@ class Bootstrap {
$this->setEarlyInstance(\TYPO3\CMS\Core\Package\PackageManager::class, $packageManager);
Utility\ExtensionManagementUtility::setPackageManager($packageManager);
$packageManager->injectCoreCache($this->getEarlyInstance(\TYPO3\CMS\Core\Cache\CacheManager::class)->getCache('cache_core'));
$packageManager->injectDependencyResolver(Utility\GeneralUtility::makeInstance(\TYPO3\CMS\Core\Package\DependencyResolver::class));
$dependencyResolver = Utility\GeneralUtility::makeInstance(\TYPO3\CMS\Core\Package\DependencyResolver::class);
$dependencyResolver->injectDependencyOrderingService(Utility\GeneralUtility::makeInstance(\TYPO3\CMS\Core\Service\DependencyOrderingService::class));
$packageManager->injectDependencyResolver($dependencyResolver);
$packageManager->initialize($this);
Utility\GeneralUtility::setSingletonInstance(\TYPO3\CMS\Core\Package\PackageManager::class, $packageManager);
return $this;
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment