From 2882b57ca6f372b822f96034ff2fe6aafd7daeb8 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Mon, 1 Jan 2018 08:08:37 +0100 Subject: [PATCH] Continued: - all base classes are now abstract - "imported" some classes/interfaces MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Roland Häder --- framework/main/classes/actions/class_BaseAction.php | 2 +- framework/main/classes/application/class_BaseApplication.php | 2 +- framework/main/classes/class_Base | 2 +- framework/main/classes/class_BaseFrameworkSystem.php | 2 +- framework/main/classes/client/class_BaseClient.php | 2 +- framework/main/classes/commands/class_BaseCommand.php | 2 +- framework/main/classes/container/class_BaseContainer.php | 2 +- framework/main/classes/controller/class_BaseController.php | 2 +- framework/main/classes/criteria/class_BaseCriteria.php | 2 +- framework/main/classes/database/class_BaseDatabaseResult.php | 2 +- framework/main/classes/database/class_BaseDatabaseWrapper.php | 2 +- framework/main/classes/decorator/class_BaseDecorator.php | 2 +- framework/main/classes/discovery/class_BaseDiscovery.php | 2 +- framework/main/classes/factories/class_BaseFactory.php | 2 +- framework/main/classes/feature/class_BaseFeature.php | 2 +- .../classes/file_directories/binary/class_BaseBinaryFile.php | 2 +- .../main/classes/file_directories/class_BaseAbstractFile.php | 2 +- framework/main/classes/file_directories/class_BaseFileIo.php | 2 +- .../main/classes/file_directories/text/class_BaseTextFile.php | 2 +- .../file_directories/text/input/class_BaseInputTextFile.php | 2 +- .../file_directories/text/output/class_BaseOutputTextFile.php | 2 +- framework/main/classes/filesystem/class_BaseFilesystem.php | 2 +- framework/main/classes/filter/class_BaseFilter.php | 2 +- framework/main/classes/handler/class_BaseHandler.php | 2 +- framework/main/classes/helper/captcha/class_BaseCaptcha.php | 2 +- framework/main/classes/helper/class_BaseHelper.php | 2 +- framework/main/classes/helper/html/class_BaseHtmlHelper.php | 2 +- framework/main/classes/helper/login/class_BaseLoginHelper.php | 2 +- framework/main/classes/images/class_BaseImage.php | 2 +- framework/main/classes/index/class_BaseIndex.php | 2 +- framework/main/classes/lists/class_BaseList.php | 2 +- framework/main/classes/mailer/class_BaseMailer.php | 2 +- framework/main/classes/menu/class_BaseMenu.php | 2 +- framework/main/classes/output/class_BaseOutput.php | 2 +- framework/main/classes/output/debug/class_BaseDebugOutput.php | 2 +- framework/main/classes/parser/class_BaseParser.php | 2 +- framework/main/classes/registration/class_BaseRegistration.php | 2 +- framework/main/classes/registry/class_BaseRegistry.php | 2 +- .../main/classes/resolver/action/class_BaseActionResolver.php | 2 +- framework/main/classes/resolver/class_BaseResolver.php | 2 +- .../classes/resolver/command/class_BaseCommandResolver.php | 2 +- .../resolver/controller/class_BaseControllerResolver.php | 2 +- framework/main/classes/response/class_BaseResponse.php | 2 +- framework/main/classes/stacker/class_BaseStacker.php | 2 +- framework/main/classes/stacker/file/class_BaseFileStack.php | 2 +- framework/main/classes/states/class_BaseState.php | 3 ++- framework/main/classes/streams/class_BaseStream.php | 2 +- framework/main/classes/tasks/class_BaseTask.php | 2 +- framework/main/classes/template/class_BaseTemplateEngine.php | 2 +- framework/main/classes/user/class_BaseUser.php | 2 +- framework/main/classes/visitor/class_BaseVisitor.php | 2 +- .../main/exceptions/state/class_UnexpectedStateException.php | 1 + framework/main/middleware/class_BaseMiddleware.php | 2 +- framework/main/tests/filter/class_BaseTestsFilter.php | 2 +- 54 files changed, 55 insertions(+), 53 deletions(-) diff --git a/framework/main/classes/actions/class_BaseAction.php b/framework/main/classes/actions/class_BaseAction.php index 0cfdd834..4205c9ea 100644 --- a/framework/main/classes/actions/class_BaseAction.php +++ b/framework/main/classes/actions/class_BaseAction.php @@ -29,7 +29,7 @@ use Org\Mxchange\CoreFramework\Object\BaseFrameworkSystem; * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ -class BaseAction extends BaseFrameworkSystem { +abstract class BaseAction extends BaseFrameworkSystem { /** * Protected constructor * diff --git a/framework/main/classes/application/class_BaseApplication.php b/framework/main/classes/application/class_BaseApplication.php index d129bbb5..d4c37398 100644 --- a/framework/main/classes/application/class_BaseApplication.php +++ b/framework/main/classes/application/class_BaseApplication.php @@ -28,7 +28,7 @@ use Org\Mxchange\CoreFramework\Registry\Registry; * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ -class BaseApplication extends BaseFrameworkSystem { +abstract class BaseApplication extends BaseFrameworkSystem { /** * Protected constructor * diff --git a/framework/main/classes/class_Base b/framework/main/classes/class_Base index 61084df0..fa836345 100644 --- a/framework/main/classes/class_Base +++ b/framework/main/classes/class_Base @@ -21,7 +21,7 @@ * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ -class Base??? extends BaseFrameworkSystem { +abstract class Base??? extends BaseFrameworkSystem { /** * Protected constructor * diff --git a/framework/main/classes/class_BaseFrameworkSystem.php b/framework/main/classes/class_BaseFrameworkSystem.php index 43d9a513..3db84d3f 100644 --- a/framework/main/classes/class_BaseFrameworkSystem.php +++ b/framework/main/classes/class_BaseFrameworkSystem.php @@ -78,7 +78,7 @@ use \SplFileInfo; * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ -class BaseFrameworkSystem extends stdClass implements FrameworkInterface { +abstract class BaseFrameworkSystem extends stdClass implements FrameworkInterface { /** * Length of output from hash() */ diff --git a/framework/main/classes/client/class_BaseClient.php b/framework/main/classes/client/class_BaseClient.php index 70fc42f5..72f9f253 100644 --- a/framework/main/classes/client/class_BaseClient.php +++ b/framework/main/classes/client/class_BaseClient.php @@ -27,7 +27,7 @@ use Org\Mxchange\CoreFramework\Object\BaseFrameworkSystem; * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ -class BaseClient extends BaseFrameworkSystem { +abstract class BaseClient extends BaseFrameworkSystem { /** * Protected constructor * diff --git a/framework/main/classes/commands/class_BaseCommand.php b/framework/main/classes/commands/class_BaseCommand.php index cacd73f1..9787fb0b 100644 --- a/framework/main/classes/commands/class_BaseCommand.php +++ b/framework/main/classes/commands/class_BaseCommand.php @@ -31,7 +31,7 @@ use Org\Mxchange\CoreFramework\Response\Responseable; * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ -class BaseCommand extends BaseFrameworkSystem { +abstract class BaseCommand extends BaseFrameworkSystem { /** * Protected constructor * diff --git a/framework/main/classes/container/class_BaseContainer.php b/framework/main/classes/container/class_BaseContainer.php index 3c50e40c..b55c5b4d 100644 --- a/framework/main/classes/container/class_BaseContainer.php +++ b/framework/main/classes/container/class_BaseContainer.php @@ -27,7 +27,7 @@ use Org\Mxchange\CoreFramework\Object\BaseFrameworkSystem; * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ -class BaseContainer extends BaseFrameworkSystem { +abstract class BaseContainer extends BaseFrameworkSystem { /** * Protected constructor * diff --git a/framework/main/classes/controller/class_BaseController.php b/framework/main/classes/controller/class_BaseController.php index fa746cd7..b9f59327 100644 --- a/framework/main/classes/controller/class_BaseController.php +++ b/framework/main/classes/controller/class_BaseController.php @@ -36,7 +36,7 @@ use Org\Mxchange\CoreFramework\Response\Responseable; * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ -class BaseController extends BaseFrameworkSystem implements Registerable { +abstract class BaseController extends BaseFrameworkSystem implements Registerable { // Exception constants const EXCEPTION_FILTER_CHAIN_INVALID = 0xf10; diff --git a/framework/main/classes/criteria/class_BaseCriteria.php b/framework/main/classes/criteria/class_BaseCriteria.php index 9079484d..e9f9a853 100644 --- a/framework/main/classes/criteria/class_BaseCriteria.php +++ b/framework/main/classes/criteria/class_BaseCriteria.php @@ -28,7 +28,7 @@ use Org\Mxchange\CoreFramework\Object\BaseFrameworkSystem; * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ -class BaseCriteria extends BaseFrameworkSystem implements Criteria { +abstract class BaseCriteria extends BaseFrameworkSystem implements Criteria { /** * Wrapper class name stored in config entry */ diff --git a/framework/main/classes/database/class_BaseDatabaseResult.php b/framework/main/classes/database/class_BaseDatabaseResult.php index 69754a81..e0f9a950 100644 --- a/framework/main/classes/database/class_BaseDatabaseResult.php +++ b/framework/main/classes/database/class_BaseDatabaseResult.php @@ -28,7 +28,7 @@ use Org\Mxchange\CoreFramework\Object\BaseFrameworkSystem; * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ -class BaseDatabaseResult extends BaseFrameworkSystem { +abstract class BaseDatabaseResult extends BaseFrameworkSystem { /** * Protected constructor * diff --git a/framework/main/classes/database/class_BaseDatabaseWrapper.php b/framework/main/classes/database/class_BaseDatabaseWrapper.php index 08957b75..d8b47b58 100644 --- a/framework/main/classes/database/class_BaseDatabaseWrapper.php +++ b/framework/main/classes/database/class_BaseDatabaseWrapper.php @@ -31,7 +31,7 @@ use Org\Mxchange\CoreFramework\Object\BaseFrameworkSystem; * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ -class BaseDatabaseWrapper extends BaseFrameworkSystem { +abstract class BaseDatabaseWrapper extends BaseFrameworkSystem { /** * Cache instance */ diff --git a/framework/main/classes/decorator/class_BaseDecorator.php b/framework/main/classes/decorator/class_BaseDecorator.php index 7dd7564d..5ab0019c 100644 --- a/framework/main/classes/decorator/class_BaseDecorator.php +++ b/framework/main/classes/decorator/class_BaseDecorator.php @@ -27,7 +27,7 @@ use Org\Mxchange\CoreFramework\Object\BaseFrameworkSystem; * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ -class BaseDecorator extends BaseFrameworkSystem { +abstract class BaseDecorator extends BaseFrameworkSystem { /** * Protected constructor * diff --git a/framework/main/classes/discovery/class_BaseDiscovery.php b/framework/main/classes/discovery/class_BaseDiscovery.php index 86124e00..2b175c0d 100644 --- a/framework/main/classes/discovery/class_BaseDiscovery.php +++ b/framework/main/classes/discovery/class_BaseDiscovery.php @@ -27,7 +27,7 @@ use Org\Mxchange\CoreFramework\Object\BaseFrameworkSystem; * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ -class BaseDiscovery extends BaseFrameworkSystem { +abstract class BaseDiscovery extends BaseFrameworkSystem { /** * Action name for payment discovery */ diff --git a/framework/main/classes/factories/class_BaseFactory.php b/framework/main/classes/factories/class_BaseFactory.php index cf65d4ae..103d9215 100644 --- a/framework/main/classes/factories/class_BaseFactory.php +++ b/framework/main/classes/factories/class_BaseFactory.php @@ -27,7 +27,7 @@ use Org\Mxchange\CoreFramework\Object\BaseFrameworkSystem; * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ -class BaseFactory extends BaseFrameworkSystem { +abstract class BaseFactory extends BaseFrameworkSystem { /** * Total objects generated */ diff --git a/framework/main/classes/feature/class_BaseFeature.php b/framework/main/classes/feature/class_BaseFeature.php index 036c86c6..68a30fe9 100644 --- a/framework/main/classes/feature/class_BaseFeature.php +++ b/framework/main/classes/feature/class_BaseFeature.php @@ -27,7 +27,7 @@ use Org\Mxchange\CoreFramework\Object\BaseFrameworkSystem; * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ -class BaseFeature extends BaseFrameworkSystem { +abstract class BaseFeature extends BaseFrameworkSystem { /** * Protected constructor * diff --git a/framework/main/classes/file_directories/binary/class_BaseBinaryFile.php b/framework/main/classes/file_directories/binary/class_BaseBinaryFile.php index 5a13dc67..40a24c55 100644 --- a/framework/main/classes/file_directories/binary/class_BaseBinaryFile.php +++ b/framework/main/classes/file_directories/binary/class_BaseBinaryFile.php @@ -33,7 +33,7 @@ use \SplFileInfo; * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ -class BaseBinaryFile extends BaseAbstractFile { +abstract class BaseBinaryFile extends BaseAbstractFile { /** * Separator for header data */ diff --git a/framework/main/classes/file_directories/class_BaseAbstractFile.php b/framework/main/classes/file_directories/class_BaseAbstractFile.php index efe0209c..92b3f114 100644 --- a/framework/main/classes/file_directories/class_BaseAbstractFile.php +++ b/framework/main/classes/file_directories/class_BaseAbstractFile.php @@ -30,7 +30,7 @@ use Org\Mxchange\CoreFramework\Object\BaseFrameworkSystem; * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ -class BaseAbstractFile extends BaseFrameworkSystem implements FilePointer, CloseableFile { +abstract class BaseAbstractFile extends BaseFrameworkSystem implements FilePointer, CloseableFile { /** * Counter for total entries */ diff --git a/framework/main/classes/file_directories/class_BaseFileIo.php b/framework/main/classes/file_directories/class_BaseFileIo.php index 0bdf57a2..6f849238 100644 --- a/framework/main/classes/file_directories/class_BaseFileIo.php +++ b/framework/main/classes/file_directories/class_BaseFileIo.php @@ -33,7 +33,7 @@ use \SplFileObject; * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ -class BaseFileIo extends BaseFrameworkSystem implements FilePointer, CloseableFile { +abstract class BaseFileIo extends BaseFrameworkSystem implements FilePointer, CloseableFile { /** * The file object */ diff --git a/framework/main/classes/file_directories/text/class_BaseTextFile.php b/framework/main/classes/file_directories/text/class_BaseTextFile.php index 269cb9d4..f56cc96e 100644 --- a/framework/main/classes/file_directories/text/class_BaseTextFile.php +++ b/framework/main/classes/file_directories/text/class_BaseTextFile.php @@ -31,7 +31,7 @@ use \SplFileInfo; * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ -class BaseTextFile extends BaseAbstractFile { +abstract class BaseTextFile extends BaseAbstractFile { /** * Protected constructor * diff --git a/framework/main/classes/file_directories/text/input/class_BaseInputTextFile.php b/framework/main/classes/file_directories/text/input/class_BaseInputTextFile.php index db62b700..1767a55a 100644 --- a/framework/main/classes/file_directories/text/input/class_BaseInputTextFile.php +++ b/framework/main/classes/file_directories/text/input/class_BaseInputTextFile.php @@ -28,7 +28,7 @@ use Org\Mxchange\CoreFramework\Filesystem\File\BaseTextFile; * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ -class BaseInputTextFile extends BaseTextFile { +abstract class BaseInputTextFile extends BaseTextFile { /** * Protected constructor * diff --git a/framework/main/classes/file_directories/text/output/class_BaseOutputTextFile.php b/framework/main/classes/file_directories/text/output/class_BaseOutputTextFile.php index b06a425f..30212999 100644 --- a/framework/main/classes/file_directories/text/output/class_BaseOutputTextFile.php +++ b/framework/main/classes/file_directories/text/output/class_BaseOutputTextFile.php @@ -29,7 +29,7 @@ use Org\Mxchange\CoreFramework\Output\BaseOutput; * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ -class BaseOutputTextFile extends BaseAbstractFile { +abstract class BaseOutputTextFile extends BaseAbstractFile { /** * Protected constructor * diff --git a/framework/main/classes/filesystem/class_BaseFilesystem.php b/framework/main/classes/filesystem/class_BaseFilesystem.php index 4ba22329..20c2fe10 100644 --- a/framework/main/classes/filesystem/class_BaseFilesystem.php +++ b/framework/main/classes/filesystem/class_BaseFilesystem.php @@ -28,7 +28,7 @@ use Org\Mxchange\CoreFramework\Object\BaseFrameworkSystem; * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ -class BaseFilesystem extends BaseFrameworkSystem { +abstract class BaseFilesystem extends BaseFrameworkSystem { /** * Protected constructor * diff --git a/framework/main/classes/filter/class_BaseFilter.php b/framework/main/classes/filter/class_BaseFilter.php index 226812c9..18c78800 100644 --- a/framework/main/classes/filter/class_BaseFilter.php +++ b/framework/main/classes/filter/class_BaseFilter.php @@ -27,7 +27,7 @@ use Org\Mxchange\CoreFramework\Object\BaseFrameworkSystem; * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ -class BaseFilter extends BaseFrameworkSystem { +abstract class BaseFilter extends BaseFrameworkSystem { // Exception constants const EXCEPTION_FILTER_CHAIN_ABORTED = 0x1a0; diff --git a/framework/main/classes/handler/class_BaseHandler.php b/framework/main/classes/handler/class_BaseHandler.php index f2424df3..c5dcd485 100644 --- a/framework/main/classes/handler/class_BaseHandler.php +++ b/framework/main/classes/handler/class_BaseHandler.php @@ -29,7 +29,7 @@ use Org\Mxchange\CoreFramework\Object\BaseFrameworkSystem; * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ -class BaseHandler extends BaseFrameworkSystem implements HandleableDataSet { +abstract class BaseHandler extends BaseFrameworkSystem implements HandleableDataSet { /** * Handler name */ diff --git a/framework/main/classes/helper/captcha/class_BaseCaptcha.php b/framework/main/classes/helper/captcha/class_BaseCaptcha.php index 54e61a31..f0bb7aeb 100644 --- a/framework/main/classes/helper/captcha/class_BaseCaptcha.php +++ b/framework/main/classes/helper/captcha/class_BaseCaptcha.php @@ -29,7 +29,7 @@ use Org\Mxchange\CoreFramework\Helper\BaseHelper; * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ -class BaseCaptcha extends BaseHelper { +abstract class BaseCaptcha extends BaseHelper { /** * Protected constructor * diff --git a/framework/main/classes/helper/class_BaseHelper.php b/framework/main/classes/helper/class_BaseHelper.php index 53a68b6d..1ab249c5 100644 --- a/framework/main/classes/helper/class_BaseHelper.php +++ b/framework/main/classes/helper/class_BaseHelper.php @@ -31,7 +31,7 @@ use Org\Mxchange\CoreFramework\Registry\Registry; * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ -class BaseHelper extends BaseFrameworkSystem { +abstract class BaseHelper extends BaseFrameworkSystem { /** * Instance to the class which provides field values */ diff --git a/framework/main/classes/helper/html/class_BaseHtmlHelper.php b/framework/main/classes/helper/html/class_BaseHtmlHelper.php index b553d04d..1f439d8e 100644 --- a/framework/main/classes/helper/html/class_BaseHtmlHelper.php +++ b/framework/main/classes/helper/html/class_BaseHtmlHelper.php @@ -28,7 +28,7 @@ use Org\Mxchange\CoreFramework\Helper\BaseHelper; * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ -class BaseHtmlHelper extends BaseHelper { +abstract class BaseHtmlHelper extends BaseHelper { /** * Protected constructor * diff --git a/framework/main/classes/helper/login/class_BaseLoginHelper.php b/framework/main/classes/helper/login/class_BaseLoginHelper.php index 8fa11b92..2957c937 100644 --- a/framework/main/classes/helper/login/class_BaseLoginHelper.php +++ b/framework/main/classes/helper/login/class_BaseLoginHelper.php @@ -27,7 +27,7 @@ use Org\Mxchange\CoreFramework\Helper\BaseHelper; * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ -class BaseLoginHelper extends BaseHelper { +abstract class BaseLoginHelper extends BaseHelper { /** * Protected constructor * diff --git a/framework/main/classes/images/class_BaseImage.php b/framework/main/classes/images/class_BaseImage.php index a950ead1..e83375f9 100644 --- a/framework/main/classes/images/class_BaseImage.php +++ b/framework/main/classes/images/class_BaseImage.php @@ -28,7 +28,7 @@ use Org\Mxchange\CoreFramework\Registry\Registerable; * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ -class BaseImage extends BaseFrameworkSystem implements Registerable { +abstract class BaseImage extends BaseFrameworkSystem implements Registerable { /** * Image type */ diff --git a/framework/main/classes/index/class_BaseIndex.php b/framework/main/classes/index/class_BaseIndex.php index a7f8e7bf..47a6f715 100644 --- a/framework/main/classes/index/class_BaseIndex.php +++ b/framework/main/classes/index/class_BaseIndex.php @@ -31,7 +31,7 @@ use Org\Mxchange\CoreFramework\Object\BaseFrameworkSystem; * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ -class BaseIndex extends BaseFrameworkSystem { +abstract class BaseIndex extends BaseFrameworkSystem { /** * Magic for this index */ diff --git a/framework/main/classes/lists/class_BaseList.php b/framework/main/classes/lists/class_BaseList.php index 10a1b997..bb583636 100644 --- a/framework/main/classes/lists/class_BaseList.php +++ b/framework/main/classes/lists/class_BaseList.php @@ -34,7 +34,7 @@ use \Countable; * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ -class BaseList extends BaseFrameworkSystem implements IteratorAggregate, Countable { +abstract class BaseList extends BaseFrameworkSystem implements IteratorAggregate, Countable { // Exception constants const EXCEPTION_GROUP_ALREADY_ADDED = 0xf20; const EXCEPTION_GROUP_NOT_FOUND = 0xf21; diff --git a/framework/main/classes/mailer/class_BaseMailer.php b/framework/main/classes/mailer/class_BaseMailer.php index 0f5d790e..6c0a52aa 100644 --- a/framework/main/classes/mailer/class_BaseMailer.php +++ b/framework/main/classes/mailer/class_BaseMailer.php @@ -29,7 +29,7 @@ use Org\Mxchange\CoreFramework\Object\BaseFrameworkSystem; * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ -class BaseMailer extends BaseFrameworkSystem { +abstract class BaseMailer extends BaseFrameworkSystem { /** * Template name */ diff --git a/framework/main/classes/menu/class_BaseMenu.php b/framework/main/classes/menu/class_BaseMenu.php index 2a28f90b..4855031d 100644 --- a/framework/main/classes/menu/class_BaseMenu.php +++ b/framework/main/classes/menu/class_BaseMenu.php @@ -32,7 +32,7 @@ use Org\Mxchange\CoreFramework\Template\CompileableTemplate; * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ -class BaseMenu extends BaseFrameworkSystem { +abstract class BaseMenu extends BaseFrameworkSystem { /** * Protected constructor * diff --git a/framework/main/classes/output/class_BaseOutput.php b/framework/main/classes/output/class_BaseOutput.php index 61267e52..c4ba1305 100644 --- a/framework/main/classes/output/class_BaseOutput.php +++ b/framework/main/classes/output/class_BaseOutput.php @@ -27,7 +27,7 @@ use Org\Mxchange\CoreFramework\Object\BaseFrameworkSystem; * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ -class BaseOutput extends BaseFrameworkSystem { +abstract class BaseOutput extends BaseFrameworkSystem { /** * Protected constructor * diff --git a/framework/main/classes/output/debug/class_BaseDebugOutput.php b/framework/main/classes/output/debug/class_BaseDebugOutput.php index e83676b9..f4c82617 100644 --- a/framework/main/classes/output/debug/class_BaseDebugOutput.php +++ b/framework/main/classes/output/debug/class_BaseDebugOutput.php @@ -27,7 +27,7 @@ use Org\Mxchange\CoreFramework\Output\BaseOutput; * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ -class BaseDebugOutput extends BaseOutput { +abstract class BaseDebugOutput extends BaseOutput { /** * Class name for this output class is being used for logging */ diff --git a/framework/main/classes/parser/class_BaseParser.php b/framework/main/classes/parser/class_BaseParser.php index 82c65ef2..1020c0e9 100644 --- a/framework/main/classes/parser/class_BaseParser.php +++ b/framework/main/classes/parser/class_BaseParser.php @@ -27,7 +27,7 @@ use Org\Mxchange\CoreFramework\Object\BaseFrameworkSystem; * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ -class BaseParser extends BaseFrameworkSystem { +abstract class BaseParser extends BaseFrameworkSystem { /** * Protected constructor * diff --git a/framework/main/classes/registration/class_BaseRegistration.php b/framework/main/classes/registration/class_BaseRegistration.php index ad8fc713..6dad6fdf 100644 --- a/framework/main/classes/registration/class_BaseRegistration.php +++ b/framework/main/classes/registration/class_BaseRegistration.php @@ -30,7 +30,7 @@ use Org\Mxchange\CoreFramework\Object\BaseFrameworkSystem; * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ -class BaseRegistration extends BaseFrameworkSystem { +abstract class BaseRegistration extends BaseFrameworkSystem { /** * Pre-registration filter chain */ diff --git a/framework/main/classes/registry/class_BaseRegistry.php b/framework/main/classes/registry/class_BaseRegistry.php index a567c360..871975af 100644 --- a/framework/main/classes/registry/class_BaseRegistry.php +++ b/framework/main/classes/registry/class_BaseRegistry.php @@ -32,7 +32,7 @@ use \IteratorAggregate; * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ -class BaseRegistry extends BaseFrameworkSystem implements Register, Registerable, IteratorAggregate { +abstract class BaseRegistry extends BaseFrameworkSystem implements Register, Registerable, IteratorAggregate { /** * Glue for generating a registry key */ diff --git a/framework/main/classes/resolver/action/class_BaseActionResolver.php b/framework/main/classes/resolver/action/class_BaseActionResolver.php index ed270a76..58996de9 100644 --- a/framework/main/classes/resolver/action/class_BaseActionResolver.php +++ b/framework/main/classes/resolver/action/class_BaseActionResolver.php @@ -31,7 +31,7 @@ use \InvalidArgumentException; * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ -class BaseActionResolver extends BaseResolver { +abstract class BaseActionResolver extends BaseResolver { /** * Validated action name */ diff --git a/framework/main/classes/resolver/class_BaseResolver.php b/framework/main/classes/resolver/class_BaseResolver.php index e5c013c6..e93bcd81 100644 --- a/framework/main/classes/resolver/class_BaseResolver.php +++ b/framework/main/classes/resolver/class_BaseResolver.php @@ -28,7 +28,7 @@ use Org\Mxchange\CoreFramework\Object\BaseFrameworkSystem; * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ -class BaseResolver extends BaseFrameworkSystem { +abstract class BaseResolver extends BaseFrameworkSystem { /** * Namespace */ diff --git a/framework/main/classes/resolver/command/class_BaseCommandResolver.php b/framework/main/classes/resolver/command/class_BaseCommandResolver.php index 7ac848cd..b0ddb5cc 100644 --- a/framework/main/classes/resolver/command/class_BaseCommandResolver.php +++ b/framework/main/classes/resolver/command/class_BaseCommandResolver.php @@ -36,7 +36,7 @@ use \UnexpectedValueException; * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ -class BaseCommandResolver extends BaseResolver { +abstract class BaseCommandResolver extends BaseResolver { /** * Protected constructor * diff --git a/framework/main/classes/resolver/controller/class_BaseControllerResolver.php b/framework/main/classes/resolver/controller/class_BaseControllerResolver.php index 66742f3b..4435605f 100644 --- a/framework/main/classes/resolver/controller/class_BaseControllerResolver.php +++ b/framework/main/classes/resolver/controller/class_BaseControllerResolver.php @@ -35,7 +35,7 @@ use \InvalidArgumentException; * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ -class BaseControllerResolver extends BaseResolver { +abstract class BaseControllerResolver extends BaseResolver { /** * Protected constructor * diff --git a/framework/main/classes/response/class_BaseResponse.php b/framework/main/classes/response/class_BaseResponse.php index c068d8a7..fdce9724 100644 --- a/framework/main/classes/response/class_BaseResponse.php +++ b/framework/main/classes/response/class_BaseResponse.php @@ -31,7 +31,7 @@ use Org\Mxchange\CoreFramework\Registry\Registry; * The extended headers are taken from phpMyAdmin setup tool, written by * Michal Cihar , licensed under GNU GPL 2.0. */ -class BaseResponse extends BaseFrameworkSystem { +abstract class BaseResponse extends BaseFrameworkSystem { /** * Response status */ diff --git a/framework/main/classes/stacker/class_BaseStacker.php b/framework/main/classes/stacker/class_BaseStacker.php index c9939165..d6d627ca 100644 --- a/framework/main/classes/stacker/class_BaseStacker.php +++ b/framework/main/classes/stacker/class_BaseStacker.php @@ -27,7 +27,7 @@ use Org\Mxchange\CoreFramework\Object\BaseFrameworkSystem; * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ -class BaseStacker extends BaseFrameworkSystem { +abstract class BaseStacker extends BaseFrameworkSystem { // Exception codes const EXCEPTION_STACKER_ALREADY_INITIALIZED = 0x050; const EXCEPTION_STACKER_IS_FULL = 0x051; diff --git a/framework/main/classes/stacker/file/class_BaseFileStack.php b/framework/main/classes/stacker/file/class_BaseFileStack.php index be936458..0989592c 100644 --- a/framework/main/classes/stacker/file/class_BaseFileStack.php +++ b/framework/main/classes/stacker/file/class_BaseFileStack.php @@ -31,7 +31,7 @@ use Org\Mxchange\CoreFramework\Stacker\BaseStacker; * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ -class BaseFileStack extends BaseStacker { +abstract class BaseFileStack extends BaseStacker { /** * Magic for this stack */ diff --git a/framework/main/classes/states/class_BaseState.php b/framework/main/classes/states/class_BaseState.php index 071cbe22..820f31c3 100644 --- a/framework/main/classes/states/class_BaseState.php +++ b/framework/main/classes/states/class_BaseState.php @@ -6,6 +6,7 @@ namespace Org\Mxchange\CoreFramework\State; use Org\Mxchange\CoreFramework\Executor\Executor; use Org\Mxchange\CoreFramework\Generic\UnsupportedOperationException; use Org\Mxchange\CoreFramework\Object\BaseFrameworkSystem; +use Org\Mxchange\CoreFramework\State\Stateable; /** * A general state class @@ -29,7 +30,7 @@ use Org\Mxchange\CoreFramework\Object\BaseFrameworkSystem; * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ -class BaseState extends BaseFrameworkSystem implements Stateable { +abstract class BaseState extends BaseFrameworkSystem implements Stateable { // Exception code constants const EXCEPTION_INVALID_STATE = 0xc00; diff --git a/framework/main/classes/streams/class_BaseStream.php b/framework/main/classes/streams/class_BaseStream.php index 3af585ce..137016ae 100644 --- a/framework/main/classes/streams/class_BaseStream.php +++ b/framework/main/classes/streams/class_BaseStream.php @@ -27,7 +27,7 @@ use Org\Mxchange\CoreFramework\Object\BaseFrameworkSystem; * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ -class BaseStream extends BaseFrameworkSystem { +abstract class BaseStream extends BaseFrameworkSystem { /** * Protected constructor * diff --git a/framework/main/classes/tasks/class_BaseTask.php b/framework/main/classes/tasks/class_BaseTask.php index 275159b1..4f53883c 100644 --- a/framework/main/classes/tasks/class_BaseTask.php +++ b/framework/main/classes/tasks/class_BaseTask.php @@ -27,7 +27,7 @@ use Org\Mxchange\CoreFramework\Object\BaseFrameworkSystem; * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ -class BaseTask extends BaseFrameworkSystem { +abstract class BaseTask extends BaseFrameworkSystem { /** * Protected constructor * diff --git a/framework/main/classes/template/class_BaseTemplateEngine.php b/framework/main/classes/template/class_BaseTemplateEngine.php index 8b0c14d5..01ff9a92 100644 --- a/framework/main/classes/template/class_BaseTemplateEngine.php +++ b/framework/main/classes/template/class_BaseTemplateEngine.php @@ -37,7 +37,7 @@ use \SplFileInfo; * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ -class BaseTemplateEngine extends BaseFrameworkSystem { +abstract class BaseTemplateEngine extends BaseFrameworkSystem { /** * The local path name where all templates and sub folders for special * templates are stored. We will internally determine the language plus diff --git a/framework/main/classes/user/class_BaseUser.php b/framework/main/classes/user/class_BaseUser.php index adc10d4e..d4e1d511 100644 --- a/framework/main/classes/user/class_BaseUser.php +++ b/framework/main/classes/user/class_BaseUser.php @@ -32,7 +32,7 @@ use Org\Mxchange\CoreFramework\Result\Search\SearchableResult; * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ -class BaseUser extends BaseFrameworkSystem implements Updateable { +abstract class BaseUser extends BaseFrameworkSystem implements Updateable { // Exception constances const EXCEPTION_USERNAME_NOT_FOUND = 0x150; const EXCEPTION_USER_EMAIL_NOT_FOUND = 0x151; diff --git a/framework/main/classes/visitor/class_BaseVisitor.php b/framework/main/classes/visitor/class_BaseVisitor.php index 2c765ffc..19ab9221 100644 --- a/framework/main/classes/visitor/class_BaseVisitor.php +++ b/framework/main/classes/visitor/class_BaseVisitor.php @@ -27,7 +27,7 @@ use Org\Mxchange\CoreFramework\Object\BaseFrameworkSystem; * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ -class BaseVisitor extends BaseFrameworkSystem { +abstract class BaseVisitor extends BaseFrameworkSystem { /** * Mode of the visitor (the first word of the concrete class' name) */ diff --git a/framework/main/exceptions/state/class_UnexpectedStateException.php b/framework/main/exceptions/state/class_UnexpectedStateException.php index 8ead1d67..b2af8ba9 100644 --- a/framework/main/exceptions/state/class_UnexpectedStateException.php +++ b/framework/main/exceptions/state/class_UnexpectedStateException.php @@ -4,6 +4,7 @@ namespace Org\Mxchange\CoreFramework\State; // Import framework stuff use Org\Mxchange\CoreFramework\Generic\FrameworkException; +use Org\Mxchange\CoreFramework\State\Stateable; /** * This exception is thrown when an unexpected state is detected. diff --git a/framework/main/middleware/class_BaseMiddleware.php b/framework/main/middleware/class_BaseMiddleware.php index 3163c05f..589b8876 100644 --- a/framework/main/middleware/class_BaseMiddleware.php +++ b/framework/main/middleware/class_BaseMiddleware.php @@ -27,7 +27,7 @@ use Org\Mxchange\CoreFramework\Object\BaseFrameworkSystem; * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ -class BaseMiddleware extends BaseFrameworkSystem { +abstract class BaseMiddleware extends BaseFrameworkSystem { /** * Protected constructor * diff --git a/framework/main/tests/filter/class_BaseTestsFilter.php b/framework/main/tests/filter/class_BaseTestsFilter.php index 81810c30..6ea71408 100644 --- a/framework/main/tests/filter/class_BaseTestsFilter.php +++ b/framework/main/tests/filter/class_BaseTestsFilter.php @@ -27,7 +27,7 @@ use Org\Mxchange\CoreFramework\Filter\BaseFilter; * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ -class BaseTestsFilter extends BaseFilter { +abstract class BaseTestsFilter extends BaseFilter { /** * Protected constructor * -- 2.30.2