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

Multiple dimensions array looping #771

Closed
aistis- opened this issue Jul 20, 2017 · 2 comments
Closed

Multiple dimensions array looping #771

aistis- opened this issue Jul 20, 2017 · 2 comments
Labels
Milestone

Comments

@aistis-
Copy link

aistis- commented Jul 20, 2017

Hi, I am searching how to do something like this:

My\Model\Lol:
    lol_{1..2}_sub_lol_{1..3}:
        content: '<current(1)> - current(2)>'

So, my expected result would be:

My\Model\Lol:
    lol_1_sub_lol_1:
        content: '1 - 1'

    lol_1_sub_lol_2:
        content: '1 - 2'

    lol_1_sub_lol_3:
        content: '1 - 3'

    lol_2_sub_lol_1:
        content: '2 - 1'

    lol_2_sub_lol_2:
        content: '2 - 2'

    lol_2_sub_lol_3:
        content: '2 - 3'

Any ideas?

@theofidry
Copy link
Member

Multi-dimension arrays are definitely not supported although that may be doable without too much trouble in 3.x.

@theofidry theofidry added this to the 3.x milestone Jul 20, 2017
@theofidry
Copy link
Member

Closing in favour of #579

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants