Skip to content

Add invoke filter#4518

Merged
fabpot merged 9 commits intotwigphp:3.xfrom
Lorenzschaef:invoke-filter
Jan 12, 2025
Merged

Add invoke filter#4518
fabpot merged 9 commits intotwigphp:3.xfrom
Lorenzschaef:invoke-filter

Conversation

@Lorenzschaef
Copy link
Copy Markdown
Contributor

Adds a new filter invoke, to invoke arrow functions and other php callables.

See the discussion here: #4378 (comment)

@Lorenzschaef Lorenzschaef changed the title invoke filter Add invoke filter Dec 26, 2024
@xabbuh
Copy link
Copy Markdown
Contributor

xabbuh commented Dec 30, 2024

This change also deserves an entry in the changelog for 3.19.0.

@Lorenzschaef
Copy link
Copy Markdown
Contributor Author

@xabbuh, I can add that.

What about the documentation? Should I also add a page to the filter reference in the docs? And mention it in the section about arrow functions? Or do you have something different in mind?

@xabbuh
Copy link
Copy Markdown
Contributor

xabbuh commented Dec 30, 2024

Doing what you suggested looks good to me.

@Lorenzschaef Lorenzschaef requested a review from fabpot January 7, 2025 17:50
@Lorenzschaef Lorenzschaef requested a review from fabpot January 9, 2025 07:03
Lorenz and others added 8 commits January 12, 2025 18:44
@fabpot
Copy link
Copy Markdown
Contributor

fabpot commented Jan 12, 2025

Thank you @Lorenzschaef.

@fabpot fabpot merged commit 65fa0c6 into twigphp:3.x Jan 12, 2025
fabpot added a commit that referenced this pull request Nov 27, 2025
This PR was merged into the 3.x branch.

Discussion
----------

Add 'invoke' to filters index

Missing from #4518 I think.

Commits
-------

f7daf71 Add 'invoke' to filters index
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

5 participants