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
Sorry I think I missed the mail. overall, I like this proposal, PRs will be welcomed. And yes, it will impact the C extension since the API is slightly different, but that's fine, we can add the C implementation later.
Hi!
We're interested in adding typed function calls to Pux and contributing them back to the project. Taking this example from the docs:
would become:
This would automatically match against \d+ and result in a call to as ProductionController()->itemAction( (int) $id) instead of passing a string type.
Why?
This will simplify controller logic and allow invalid input to be sent to a 404 page instead of through controller logic.
It also allows folks to start converting over to Hack / HHVM for other performance gains.
Any concerns over this feature? Will this have any impact on the C extension (which we don't use so I wouldn't be adding any code in).
The text was updated successfully, but these errors were encountered: