Skip to content
Snippets Groups Projects
Commit 9c731c48 authored by Benjamin Tammling's avatar Benjamin Tammling Committed by Christian Kuhn
Browse files

[TASK] Implement interface for ViewHelperResolverFactory

Add ViewHelperResolverFactoryInterface and use it for
dependency injection.

ViewHelperResolverFactoryInterface is specified via
ServiceProvider.php since it is needed in FailsafeContainer
(install tool). Since ServiceProdiver.php itself is not API,
ViewHelperResolverFactoryInterface isn't either. This will
evolve over time in core. For now, we still need this
interface already for some extensions edge cases, though.

ServiceProviderCompilationPass is adapted to avoid
alias resolution when providing factories for interfaces.
Otherwise the aliased service is configured instead of
the interface itself.

Resolves: #95076
Releases: master
Change-Id: I882fb3d1bfee65dea44d9ee4f4d7bc39275ab10e
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/70831


Tested-by: default avatarBenjamin Franzke <bfr@qbus.de>
Tested-by: default avatarcore-ci <typo3@b13.com>
Tested-by: default avatarSimon Praetorius <simon@praetorius.me>
Tested-by: default avatarBenjamin Tammling <benjamin.tammling@sitegeist.de>
Tested-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: default avatarBenjamin Franzke <bfr@qbus.de>
Reviewed-by: default avatarSimon Praetorius <simon@praetorius.me>
Reviewed-by: default avatarBenjamin Tammling <benjamin.tammling@sitegeist.de>
Reviewed-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
parent eb19f96c
No related merge requests found
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