-
-
Notifications
You must be signed in to change notification settings - Fork 116
Closed
Description
We just started migrating from Nette 2.1-something and this was one of the issues we bumped into.
I know it's not a best practise, but often I would use the template object helpers in presenter or control.
For example let's have a price helper registered, you need to format a money object into flashMessage and you can either inject the helpers class and use that to format it, or just simply call $template->price($money) and use that in the flashMessage.
Now that the Nette\Bridges\ApplicationLatte\Template has no __call method, this stopped working.
This is not a critical issue, and you may decide to mark it as a wontfix, but I think it would be better to add the __call with deprecated trigger to the ApplicationLatte\Template class.
Metadata
Metadata
Assignees
Labels
No labels