Feature #7588

ObjectAccess::getPropertyPath should support Closures

Added by Sebastian Kurfuerst over 5 years ago. Updated almost 5 years ago.

Status:Resolved Start date:2010-05-02
Priority:Should have Due date:
Assigned To:Sebastian Kurfuerst % Done:

100%

Category:-
Target version:-
PHP Version: Complexity:
Has patch:

Description

We need support for Closures in ObjectAccess::getPropertyPath.


Related issues

related to TYPO3.Neos - Task #7302: Check the status / finish the TS Rendering Engine Resolved 2010-04-16

Associated revisions

Revision 6fa277fc
Added by Sebastian Kurfuerst over 5 years ago

[!!!][+FEATURE] FLOW3 (Reflection): If an object on the path given to ObjectAccess::getPropertyPath() is a Closure, it is executed and the result is processed further. This means it is currently NOT possible to the closure itself, as it is directly executed. Resolves #7588.
[+BUGFIX] FLOW3 (Reflection): ObjectAccess::getPropertyPath now also works with classes implementing ArrayAccess.

History

#1 Updated by Sebastian Kurfuerst over 5 years ago

  • Status changed from Accepted to Resolved
  • % Done changed from 0 to 100

Applied in changeset r4256.

Also available in: Atom PDF