ObjectAccess::getProperty() does not work for getters in ArrayAccess
#42723 introduced a regression that prevents custom getters in ArrayAccess objects to be called via ObjectAccess::getProperty()
Code to reproduce the issue:
$arrayObject = new \ArrayObject(); var_dump($arrayObject->getIteratorClass()); var_dump(\TYPO3\Flow\Reflection\ObjectAccess::getProperty($arrayObject, 'iteratorClass'));
Should output "ArrayIterator" twice, but the second time an exception #1263391473: The property "iteratorClass" on the subject was not accessible is thrown.