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\Application\UI;
9:
10:
11: /**
12: * Defines template.
13: */
14: interface ITemplate
15: {
16:
17: /**
18: * Renders template to output.
19: * @return void
20: */
21: function render();
22:
23: /**
24: * Sets the path to the template file.
25: * @return void
26: */
27: function setFile($file);
28:
29: /**
30: * Returns the path to the template file.
31: * @return string
32: */
33: function getFile();
34:
35: }
36: