Project

General

Profile

Actions

Task #82975

closed

Deprecate usage of @inject with non-public properties

Added by Alexander Schnitzler over 6 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Should have
Category:
Extbase
Target version:
Start date:
2017-11-11
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
9
PHP Version:
Tags:
Complexity:
Sprint Focus:

Description

When using private or protected properties for Dependency Injection, Extbase needs to use the object reflection API to make these properties settable from the outside, which is quite slow and cannot be cached in any way.
Therefore property injection should only work for public properties.

Actions

Also available in: Atom PDF