You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We have lots of formatter right now (Hooray!), and ideally we'd have as many placeholder formatters. It's not ideal to have once modifiers class for each formatters.
I would like to have a general modifier that would parse any placeholder modifier and the FormatterBuilder::__callStatic() (or something else) execute a formatter as a placeholder modifier. The Modifier interface remains useful, because we do not want to tight the modifiers to the formatters and not all of them deal with strings, but want to have one modifier implementation that's coupled to our own formatters.
Modifiers already support arguments via subsequent : after the pipe, like list:or, we just need to make those arguments values to pass to the construtor of the formatters.
Activity
henriquemoody commentedon Feb 7, 2026
Closed by #12