Continued: - updated year to 2023
Continued: - moved EXCEPTION_UNSPPORTED_OPERATION to FrameworkInterface
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: - converted more old array() to "new" [] way - also added more debug lines - throw more exceptions on bad parameters
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: - "cached" configuration entry 'developer_mode_enabled' and 'debug_*_output_timings' into class fields to avoid "expensive" calls all over again to FrameworkConfiguration->getConfigEntry() 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>
Refacuring / possible WIP: - rewrote a lot clases and cleared up abuse of Block interface - got rid of $applicationInstance as this can be retrieved singelton - moved some files, added new BaseFileIndex class Signed-off-by: Roland Häder <roland@mxchange.org>
Rewrites: - more thrown exceptions - more debug logging (currently messing up phpunit output) - more type-hints for primitive variables added - writeAtPosition() must be used instead of writeData() as the later one increments the counter - debug log files could contain non-text data, so let's treat them as as text anyway ... Signed-off-by: Roland Häder <roland@mxchange.org>
Continued: - validated more parameters to avoid bad invocation with invalid values - int $bytes = NULL was my default, SPL says 0, not NULL as default value - improved logger messages by adding type and all parameters Signed-off-by: Roland Häder <roland@mxchange.org>
Continued: - logging __METHOD__ + __LINE__ again is no more needed since rewrite of logger - possible fix for wrong valid() result (was FALSE while there was one entry there) Signed-off-by: Roland Häder <roland@mxchange.org>
Continued: - added type-hints for primitive variables 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>
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>
imported UnsupportedOperationException; Signed-off-by: Roland Häder <roland@mxchange.org>