#81330Provide a path to migrate internal class properties to protected
Description
A lot of properties of core classes are public since years, making it hard to refactor the classes. Every change is threatening to break extensions. This slows down the modernisation of TYPO3 a lot.
A path is needed to be able to set public properties to protected without immediately breaking extensions. This is generally reached by deprecation and period of transition to adjust extensions.
Deprecation works well for methods, as they can trigger the deprecation log directly. Provide this feature for properties, by triggering the depreciation log by using magic accessor methods to trigger the log.
Suggestion is to use a trait to temporarily include the feature into classes for periods of transition.