Actions
Task #103104
closedUse first class closures for service provider factories
Status:
Resolved
Priority:
Should have
Assignee:
Category:
Code Cleanup
Target version:
Start date:
2024-02-13
Due date:
% Done:
100%
Estimated time:
TYPO3 Version:
13
PHP Version:
Tags:
Complexity:
Sprint Focus:
Description
Adapt the service provider compiler to perform the same level of
optimization as for the array-based callable syntax:
We unrol the static closure into it's static components (class name and
method name). That means the effective generated dependency injection
php code is the same as before with the gain of better DX.
Actions