1: <?php
2:
3: /**
4: * This file is part of the Nette Framework (https://nette.org)
5: * Copyright (c) 2004 David Grudl (http://davidgrudl.com)
6: */
7:
8: namespace Nette\Templating;
9:
10: use Nette;
11:
12:
13: /**
14: * Defines file-based template methods.
15: *
16: * @author David Grudl
17: */
18: interface IFileTemplate extends ITemplate
19: {
20:
21: /**
22: * Sets the path to the template file.
23: * @param string template file path
24: * @return void
25: */
26: function setFile($file);
27:
28: /**
29: * Returns the path to the template file.
30: * @return string template file path
31: */
32: function getFile();
33:
34: }
35: