[ticket/10586] Make the abstract class implement the original interface

PHPBB3-10586
This commit is contained in:
David King 2012-03-28 16:21:17 -04:00
parent cb7dabbffc
commit 9a8b3ff449
2 changed files with 32 additions and 1 deletions

View file

@ -20,7 +20,7 @@ if (!defined('IN_PHPBB'))
* *
* @package extension * @package extension
*/ */
abstract class phpbb_extension_controller abstract class phpbb_extension_controller implements phpbb_extension_controller_interface
{ {
/** /**
* @var phpbb_request Request class object * @var phpbb_request Request class object

View file

@ -0,0 +1,31 @@
<?php
/**
*
* @package extension
* @copyright (c) 2011 phpBB Group
* @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License v2
*
*/
/**
* @ignore
*/
if (!defined('IN_PHPBB'))
{
exit;
}
/**
* The interface that extension classes have to implement to run front pages
*
* @package extension
*/
interface phpbb_extension_controller_interface
{
/**
* handle the request to display a page from an extension
*
* @return null
*/
public function handle();
}