From: Roland Häder <roland@mxchange.org> Date: Mon, 1 Jan 2018 06:52:38 +0000 (+0100) Subject: Continued: X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=52671aae16bf9a48ca95af707b96a5d74fa64b29;p=core.git Continued: - added Executor interface from hub project Signed-off-by: Roland Häder <roland@mxchange.org> --- diff --git a/framework/main/classes/filter/class_ b/framework/main/classes/filter/class_ index 9dccabab..0bdc5e69 100644 --- a/framework/main/classes/filter/class_ +++ b/framework/main/classes/filter/class_ @@ -1,4 +1,13 @@ <?php +// Own namespace +namespace \Filter\; + +// Import framework stuff +use Org\Mxchange\CoreFramework\Filter\BaseFilter; +use Org\Mxchange\CoreFramework\Filter\Filterable; +use Org\Mxchange\CoreFramework\Request\Requestable; +use Org\Mxchange\CoreFramework\Response\Responseable; + /** * * diff --git a/framework/main/interfaces/executor/.htaccess b/framework/main/interfaces/executor/.htaccess new file mode 100644 index 00000000..3a428827 --- /dev/null +++ b/framework/main/interfaces/executor/.htaccess @@ -0,0 +1 @@ +Deny from all diff --git a/framework/main/interfaces/executor/class_Executor.php b/framework/main/interfaces/executor/class_Executor.php new file mode 100644 index 00000000..a6d3902e --- /dev/null +++ b/framework/main/interfaces/executor/class_Executor.php @@ -0,0 +1,38 @@ +<?php +// Own namespace +namespace Org\Mxchange\CoreFramework\Executor; + +// Import framework stuff +use Org\Mxchange\CoreFramework\Generic\FrameworkInterface; +use Org\Mxchange\CoreFramework\State\Stateable; + +/** + * A Executor interface + * + * @author Roland Haeder <webmaster@shipsimu.org> + * @version 0.0.0 + * @copyright Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2015 Hub Developer Team + * @license GNU GPL 3.0 or any newer version + * @link http://www.shipsimu.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 + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * 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 <http://www.gnu.org/licenses/>. + */ +interface Executor extends FrameworkInterface { + /** + * Initializes the executor, whatever it does. + * + * @return void + */ + function initExecutor (Stateable $stateInstance); +}