nette / application

🏆 A full-stack component-based MVC kernel for PHP that helps you write powerful and modern web applications. Write less, have cleaner code and your work will bring you joy.
https://doc.nette.org/application
Other
409 stars 105 forks source link

Latte bridge: add block rendering support #326

Open fixsoftware opened 7 months ago

fixsoftware commented 7 months ago

This pull request is adding missing support of the third parameter ($block) to render and renderToString methods of Nette Latte bridge. The $block parameter can be used to render a specific block of Latte template.

Related nette/latte issue: https://github.com/nette/latte/issues/101 Related nette/latte commit: https://github.com/nette/latte/commit/56e45145ec37e95d083e176e389bf2fcce0fcc15