mirror of https://github.com/FriendsOfTYPO3/tea.git synced 2024-12-23 00:46:10 +01:00
tea/Documentation/DivergencesToTypo3Core/Attributes.rst
Daniel Siepmann b8ef4383b7
[TASK] Migrate from Services.yaml to Services.php (#1286)
* Migrate existing configuration from yaml to php.
* Document why we did the switch and that using yaml or both is totally
  valid and conforms to best practices.
* Document why we are not using attributes but only `Services.php`
  right now.

Resolves: #1172
Relates: #1237
2024-05-07 14:14:54 +02:00

382 B

Attributes

TYPO3 also extends the availability of registering services via attributes. We will prefer the attributes over Services files. But we won't use both at once and still need Services files as long as PHP 7.4 is supported. Attributes will be used in favor of Services files once we drop unsupported PHP versions.