Avoid runtime reflection calls in ObjectAccess
[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.
Reviewed-by: André Schließer <firstname.lastname@example.org>
Tested-by: André Schließer <email@example.com>
Reviewed-by: Andreas Wolf <firstname.lastname@example.org>
Tested-by: Andreas Wolf <email@example.com>