X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fclasses%2Finterfaces%2Fcommands%2Fclass_Commandable.php;h=fa8796384c203bbd831b9d0cb0777f367b29a972;hb=390641f83ec749cc41a77bb80357105c200abb43;hp=e8397c59cb781e975fbaacb21c806f8d33c39ef4;hpb=70be4eacb2f76926a07541d63da444c21cb2f0d6;p=shipsimu.git diff --git a/inc/classes/interfaces/commands/class_Commandable.php b/inc/classes/interfaces/commands/class_Commandable.php index e8397c5..fa87963 100644 --- a/inc/classes/interfaces/commands/class_Commandable.php +++ b/inc/classes/interfaces/commands/class_Commandable.php @@ -2,11 +2,11 @@ /** * An interface for commands for the front controller * - * @author Roland Haeder - * @version 0.3.0 + * @author Roland Haeder + * @version 0.0.0 * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software * @license GNU GPL 3.0 or any newer version - * @link http://www.mxchange.org + * @link http://www.ship-simu.org * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -19,17 +19,25 @@ * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * along with this program. If not, see . */ interface Commandable extends FrameworkInterface { /** - * Executes the given command with given request and response objects + * Executes the command with given request and response objects * * @param $requestInstance An instance of a class with an Requestable interface * @param $responseInstance An instance of a class with an Responseable interface * @return void */ function execute (Requestable $requestInstance, Responseable $responseInstance); + + /** + * Adds extra filters to the given controller instance + * + * @param $controllerInstance A controller instance + * @return void + */ + function addExtraFilters (Controller $controllerInstance); } //