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: * @param string
26: * @return static
27: */
28: function setFile($file);
29:
30: /**
31: * Returns the path to the template file.
32: * @return string|null
33: */
34: function getFile();
35: }
36: