minor #1517 Clarify documentations around protected closures. (jordanlev)
This PR was merged into the 2.1.x-dev branch. Discussion ---------- Clarify documentations around protected closures. The docs state that "protected closures do not get access to the container", but this is somewhat misleading (it confused me for a quite some time). It's true that protected closures are not passed the container as a function argument, but they can access the container via `use ($app)`. Commits ------- 45d9113d Clarify documentations around protected closures.
Showing
Please register or sign in to comment