Hacker Newsnew | comments | ask | jobs | submitlogin
yuri41 902 days ago | link | parent

The Point is, that I want my closures to have access to the context (the application) without messing with the arguments or "use".

The next thing is, that the Silex Framework binds route parameters as arguments to the closure. Additionally the user could forget to declare the $app argument in the passed closure.




Lists | RSS | Bookmarklet | Guidelines | FAQ | DMCA | News News | Feature Requests | Bugs | Y Combinator | Apply | Library

Search: