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

[TASK] Use PHP attributes more often to configure DI

Using PHP attributes to configure DI within classes
directly is more easy to understand since developers
don't need to constantly look up DI configuration
Services.yaml files, but have everything in one place.

The patch switches all classes that previously
used '@cache.xy' to get a specific cache injected
to an `Autowire` attribute.

Resolves: #103921
Releases: main
Change-Id: I16b064242cdbc2bbcfbed89700c97afac012fdf8
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/84406


Tested-by: default avatarBenjamin Franzke <ben@bnf.dev>
Reviewed-by: default avatarStefan Bürk <stefan@buerk.tech>
Reviewed-by: default avatarBenjamin Franzke <ben@bnf.dev>
Tested-by: default avatarcore-ci <typo3@b13.com>
Tested-by: default avatarStefan Bürk <stefan@buerk.tech>
parent 577864d1
Branches
Tags
Showing
with 96 additions and 124 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