We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3a65046 commit 67f45fbCopy full SHA for 67f45fb
src/Bridges/ApplicationLatte/Loader.php
src/Bridges/ApplicationLatte/TemplateFactory.php
@@ -60,10 +60,6 @@ public function createTemplate(UI\Control $control = null): UI\ITemplate
60
$template = new $this->templateClass($latte);
61
$presenter = ($control && $control->hasPresenter()) ? $control->getPresenter() : null;
62
63
- if ($control instanceof UI\Presenter) {
64
- $latte->setLoader(new Loader($control));
65
- }
66
-
67
if ($latte->onCompile instanceof \Traversable) {
68
$latte->onCompile = iterator_to_array($latte->onCompile);
69
}
0 commit comments