PageRenderTime 38ms CodeModel.GetById 13ms RepoModel.GetById 0ms app.codeStats 0ms

/libs/Nette/Templates/IFileTemplate.php

https://github.com/Vrtak-CZ/ORM-benchmark
PHP | 41 lines | 8 code | 9 blank | 24 comment | 0 complexity | 011dfa64caa9452f3146adca2beaae5d MD5 | raw file
  1. <?php
  2. /**
  3. * Nette Framework
  4. *
  5. * @copyright Copyright (c) 2004, 2010 David Grudl
  6. * @license http://nette.org/license Nette license
  7. * @link http://nette.org
  8. * @category Nette
  9. * @package Nette\Templates
  10. */
  11. namespace Nette\Templates;
  12. use Nette;
  13. /**
  14. * Defines file-based template methods.
  15. *
  16. * @copyright Copyright (c) 2004, 2010 David Grudl
  17. * @package Nette\Templates
  18. */
  19. interface IFileTemplate extends ITemplate
  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. * Returns the path to the template file.
  29. * @return string template file path
  30. */
  31. function getFile();
  32. }