Skip to content
Snippets Groups Projects
Commit 2a4dcbad authored by Alexander Schnitzler's avatar Alexander Schnitzler Committed by Andreas Wolf
Browse files

[TASK] Avoid runtime reflection calls in ObjectAccess

ObjectAccess had two kinds of runtime reflection calls:

1) To gather data about object properties and methods
2) To make non public properties accessible

The first one is tackled by using class schema instances
and by using the property accessor of symfony/property-access.

The latter is tackled by deprecating all method arguments
that trigger reflection to make properties accessible. In
the future, gettable/settable properties need to be either
public or have a getter (get*/has*/is*) or setter.

Releases: master
Resolves: #87332
Change-Id: I6ecef81de7aa4cc1244166d683874a1a87ac6bb7
Reviewed-on: https://review.typo3.org/59331


Reviewed-by: default avatarAndré Schließer <andy.schliesser@gmail.com>
Tested-by: default avatarAndré Schließer <andy.schliesser@gmail.com>
Reviewed-by: default avatarAndreas Wolf <andreas.wolf@typo3.org>
Tested-by: default avatarAndreas Wolf <andreas.wolf@typo3.org>
parent bcde6c01
No related merge requests found
Showing
with 464 additions and 220 deletions
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment