Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ArrayCollection map() method capability to access inner array key #221

Open
wants to merge 1 commit into
base: 2.0.x
Choose a base branch
from

Commits on Nov 16, 2019

  1. Added access to inner key on map() Closure

    This enhancement gives to map() Closure the capability to access also the keys of the inner
    array holding the elements. Until now, we were able to access just the element on map Closure
    but not the key. So I propose to add the ability to access also the key for do some statements
    inside the Closure with key related.
    
    I have the need to add it since in my project I must get the asociative key to take a decision
    in function of the current key element and I thought that may be usefull for everyone in some
    other projects to access the key of current processing element.
    didix16 authored and 1193823 committed Nov 16, 2019
    Configuration menu
    Copy the full SHA
    ef09245 View commit details
    Browse the repository at this point in the history