Project

General

Profile

Actions

Task #103104

closed

Use first class closures for service provider factories

Added by Benjamin Franzke 3 months ago. Updated 3 months ago.

Status:
Resolved
Priority:
Should have
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

Also available in: Atom PDF