1: <?php
2:
3: /**
4: * This file is part of the Nette Framework (https://nette.org)
5: * Copyright (c) 2004 David Grudl (https://davidgrudl.com)
6: */
7:
8: namespace Nette\Bridges\ApplicationLatte;
9:
10: use Latte;
11: use Nette;
12:
13:
14: /**
15: * Template loader.
16: */
17: class Loader extends Latte\Loaders\FileLoader
18: {
19: /** @var Nette\Application\UI\Presenter */
20: private $presenter;
21:
22:
23: public function __construct(Nette\Application\UI\Presenter $presenter)
24: {
25: parent::__construct();
26: $this->presenter = $presenter;
27: }
28: }
29: