Continued: - added more debug lines - added a few more checks on parameters - moved EXCEPTION_NULL_POINTER to FrameworkInterface
Continued: - introduced ObjectRegister (interface) and ObjectRegistry (class) for instance-registry related stuff
Continued: - updated year to 2023
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: - removed more // END - <something> occurances as I don't do them anymore Signed-off-by: Roland Häder <roland@mxchange.org>
Continued: - moved utilities classes to plural path names and namespaces - added ArrayUtils class for handling arrrays - used that new class' method to map numeric array elements to associative 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: - Application instance in generic registry was a little of an overdoze when there is ApplicationHelper::getSelfInstance() around, this means lesser method invocations and a bit smaller footprint (one registry entry lesser) Signed-off-by: Roland Häder <roland@mxchange.org>
Continued: - added type-hints for primitive variables - thanks to these type-hints, some tests are no longer needed Signed-off-by: Roland Häder <roland@mxchange.org>
Continued: - rewrote deprecated DEVELOPER constant to developer_mode_enabled configuration entry - added missing "import" line for exception Signed-off-by: Roland Häder <roland@mxchange.org>
Refacuring: - moved state, template and resolver instances to distinct traits Signed-off-by: Roland Häder <roland@mxchange.org>
Continued: - moved language instance methods from monolithic and wrong registry-usage to FrameworkBootstrap - added type-hints for primitive variables (also maybe in last 3 commits) Signed-off-by: Roland Häder <roland@mxchange.org>
Continued: - moved class StringUtils to deeper package, needs updating ApplicationHelper! - moved some methods from monolithic class BaseFrameworkSystem to StringUtils 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: - 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>
Continued: - convertDashesToUnderscores() is invoked static by StringUtils::convertDashesToUnderscores 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>