Skip to content
Snippets Groups Projects
Commit b677ffbd authored by Benjamin Franzke's avatar Benjamin Franzke
Browse files

[TASK] Use dependency injection in PageRenderer

Add dependency injection to PageRenderer and it's direct
dependencies. Most prominently this avoids the static
assets-cache injection from TYPO3 bootstrap and refactors to
regular injection instead.
ResourceCompressor is adapted to be delay it's initialization
to be injectable without immediate side-effects.

Backend Router and UriBuilder are not injected because they are
a) only needed in backend context and
b) should ideally be moved out of the PageRenderer
   into EXT:backend anyway.

Resolves: #97030
Releases: main
Change-Id: I8e72e5f87a095372439c3cd8106318ae272c6ce0
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/73594


Tested-by: default avatarcore-ci <typo3@b13.com>
Tested-by: default avatarBenni Mack <benni@typo3.org>
Tested-by: default avatarStefan Bürk <stefan@buerk.tech>
Tested-by: default avatarBenjamin Franzke <bfr@qbus.de>
Reviewed-by: default avatarBenni Mack <benni@typo3.org>
Reviewed-by: default avatarStefan Bürk <stefan@buerk.tech>
Reviewed-by: default avatarBenjamin Franzke <bfr@qbus.de>
parent 68faab13
Branches
Tags
Showing
with 431 additions and 182 deletions
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