/Nette/Application/IPresenter.php
PHP | 40 lines | 5 code | 7 blank | 28 comment | 0 complexity | d4d309220d192555ff9fbd82e1456a2b MD5 | raw file
Possible License(s): BSD-3-Clause
- <?php
- /**
- * Nette Framework
- *
- * Copyright (c) 2004, 2009 David Grudl (http://davidgrudl.com)
- *
- * This source file is subject to the "Nette license" that is bundled
- * with this package in the file license.txt.
- *
- * For more information please see http://nettephp.com
- *
- * @copyright Copyright (c) 2004, 2009 David Grudl
- * @license http://nettephp.com/license Nette license
- * @link http://nettephp.com
- * @category Nette
- * @package Nette\Application
- */
- /*namespace Nette\Application;*/
- /**
- * Defines method that must be implemented to allow a component to act like a presenter.
- *
- * @author David Grudl
- * @copyright Copyright (c) 2004, 2009 David Grudl
- * @package Nette\Application
- */
- interface IPresenter
- {
- /**
- * @param PresenterRequest
- * @return IPresenterResponse
- */
- function run(PresenterRequest $request);
- }