Task #93475

Inject cache into IconRegistry

Added by Benjamin Franzke 3 months ago. Updated 12 days ago.

Status:
Closed
Priority:
Should have
Category:
System/Bootstrap/Configuration
Target version:
-
Start date:
2021-02-09
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
11
PHP Version:
Tags:
Complexity:
Sprint Focus:

Description

This is to avoid calling IconRegistry::setCache during early bootstrap.
That hack was needed back when CacheManager was streamlined to
only we usable after ext_localconf has been loaded (#86353).
Since DI was not available back then, assets cache needed to injected
statically. Now that DI is available, we can inject withing the factory.

Also available in: Atom PDF