Continued: - updated year to 2023
Continued: - changed to generic exceptions - introduced EXCEPTION_BAD_METHOD_CALL exception code
Continued: - no attributes of an XML element is very common (ops) - fixed variable in debug line - added more debug lines
Continued: - renamed getPrimaryKeyValue() to generatePrimaryKey() - added more debug lines - added more checks for parameter
Continued: - introduced exception code for InvalidArgumentException
Continued: - updated framework's (and testing application's) copyright year - also for tests copyright year has been updated Signed-off-by: Roland Häder <roland@mxchange.org>
Continued: - updated copyright year Signed-off-by: Roland Häder <roland@mxchange.org>
Rewrite: - constructors of concrete (=implementing non-abstract) classes should be private to avoid somone making an inheriting class of a concrete class - this is good practice: only make inheriting (concrete) classes of abstract classes, not another concrete class only because you want that functionality in your class, too - the private constructor also stops you from doing such wrong things, no need to make all concrete classes final Signed-off-by: Roland Häder <roland@mxchange.org>
Continued: - renamed BaseStacker/BaseFileStack->addValue() to addValueToStack() - added more debug lines - added more parameter validation - updated index.php Signed-off-by: Roland Häder <roland@mxchange.org>
Continued: - added more parameter validation - added commented-out noisy debug lines - rewrote more assert() calls to thrown exceptions (not private methods) Signed-off-by: Roland Häder <roland@mxchange.org>
Continued: - renamed some namespaces - renamed BaseFileStack::ARRAY_INDEX_* to ARRAY_NAME_* as these constants contain names and not numbers - also moved them to interface StackableFile Signed-off-by: Roland Häder <roland@mxchange.org>
Continued: - also removed other deprecated exception and replaced it with same as before - fixed exception constructor invocation Signed-off-by: Roland Häder <roland@mxchange.org>
Continued: - removed deprecated exception NoStackerException and replaced by BadMethodCallException Signed-off-by: Roland Häder <roland@mxchange.org>
Continued: - Copyright year updated Signed-off-by: Roland Häder <roland@mxchange.org>
Continued: - updated copyright year (code was really updated there but not the year itself) - __call() does now finally show proper class name and only 'unknown' when self::$instance is not set (which must be an instance of FrameworkInterface for an obvious reason ...) Signed-off-by: Roland Häder <roland@mxchange.org>
Renamed Registry -> GenericRegistry to make it clear that this registry does indeed accept any type of data and therefor is very generic. Signed-off-by: Roland Haeder <roland@mxchange.org>
Some updates: - inc/config/config-local.php is no longer supported as it requires a (mostly) application-specific file being placed into core which is not a good idea. Better is strict separation of core-specific (framework only) and application-specific. - updated all file's copyright year to 2016 - added dummy for upcoming datbase migration support (later also between different engines, if possible?) Signed-off-by: Roland Haeder <roland@mxchange.org>
Continued: - added Org\Nxchange\ namespace followwing Java convention Signed-off-by: Roland Häder <roland@mxchange.org>
No own namespace for these, so no need to import Signed-off-by: Roland Häder <roland@mxchange.org>
Continued: - added "import" of BaseStacker and Stackable - added "import" of BaseMailer and DeliverableMail - added missing namespace in config entries - killed more [EOF] and discouraged ?> Signed-off-by: Roland Häder <roland@mxchange.org>