Continued: - used more exception codes - moved one to FrameworkInterface - removed no longer used (was old code anyway)
Continued: - added more debug message - FrameworkConfiguration cannot invoke methods from StringUtils while debug lines are active: --------------- PHP Fatal error: Uncaught Error: Class 'Org\Mxchange\CoreFramework\Middleware\Debug\DebugMiddleware' not found in /home/.../core/framework/main/classes/class_BaseFrameworkSystem.php:623 ---------------
Continued: - commented out some debug lines - added some more (also commented out)
Continued: - introduced ConsoleTools::acquireHostname() which acquires own host's name - some methods of ConsoleTools are now "caching" their being "expensively" determined and then returned values - added more unit tests - added more debug lines
Continued: - updated year to 2023
Continued: - also turned 'quiet_resolver' into a is_*_enabled entry
Continued: - introduced exception code for InvalidArgumentException
Continued: - added method FrameworkConfiguration::isEnabled() which requires configuration keys like 'is_foo_enabled' while you can just invoke $configInstance->isEnabled('foo') - Added some debug lines - added missing configuration entries - Configuration entries like is_<form-name>_captcha_secured_enabled are still missing
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: - moved ObjectFactory into deeper package Signed-off-by: Roland Häder <roland@mxchange.org>
Continued: - added type-hints for primitive variables - throw IAE when a parameter is not valid, e.g. empty hostname or IP address Signed-off-by: Roland Häder <roland@mxchange.org>
Continued: - BaseFrameworkSystem-><get|set>ConfigInstance() was deprecated and no longer working since below rewrite happened. It was also slow and unneccessary as FrameworkBootstrap::getConfigurationInstance() does the same - moved $registryInstance and getter/setter to RegistryIterator (only place) - moved $commandName / $controllerName and getter/setter to proper resolver classes Signed-off-by: Roland Häder <roland@mxchange.org>
Continued: - removed superflous __METHOD__/__LINE__ inclusion when it is already given - added some informative text back Signed-off-by: Roland Häder <roland@mxchange.org>
Copyright: - updated older copyright years 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>
Rewrite: - the configuration instance is now instanciated by FrameworkBootstrap::getConfigurationInstance(), this *may* has made it sure that the class FrameworkConfiguration can be fully covered by unit tests. - still a call-back instance test is pending Signed-off-by: Roland Häder <roland@mxchange.org>