PageRenderTime 48ms CodeModel.GetById 21ms RepoModel.GetById 1ms app.codeStats 0ms

/Nette/Application/IPresenter.php

https://github.com/DocX/nette
PHP | 40 lines | 5 code | 7 blank | 28 comment | 0 complexity | d4d309220d192555ff9fbd82e1456a2b MD5 | raw file
Possible License(s): BSD-3-Clause
  1. <?php
  2. /**
  3. * Nette Framework
  4. *
  5. * Copyright (c) 2004, 2009 David Grudl (http://davidgrudl.com)
  6. *
  7. * This source file is subject to the "Nette license" that is bundled
  8. * with this package in the file license.txt.
  9. *
  10. * For more information please see http://nettephp.com
  11. *
  12. * @copyright Copyright (c) 2004, 2009 David Grudl
  13. * @license http://nettephp.com/license Nette license
  14. * @link http://nettephp.com
  15. * @category Nette
  16. * @package Nette\Application
  17. */
  18. /*namespace Nette\Application;*/
  19. /**
  20. * Defines method that must be implemented to allow a component to act like a presenter.
  21. *
  22. * @author David Grudl
  23. * @copyright Copyright (c) 2004, 2009 David Grudl
  24. * @package Nette\Application
  25. */
  26. interface IPresenter
  27. {
  28. /**
  29. * @param PresenterRequest
  30. * @return IPresenterResponse
  31. */
  32. function run(PresenterRequest $request);
  33. }