·
2 commits
to master
since this release
Included commits: 4.18.1...4.19.0
Improvements
- Introduced a console command cache to optimize autoload performance by storing a command name-to-class map and instantiating only the invoked command on subsequent runs instead of loading all registered commands.
- Introduced
ConsoleConfig::isConsoleCommandCacheEnabled()to allow enabling or disabling the command loading cache. - Introduced
ConsoleConfig::getConsoleCommandCacheFilePath()to configure the file path where the cached command map is stored. - Introduced
ConsoleConfig::getCacheExcludedConsoleCommandNames()to define commands that must bypass the single-command cache because they resolve sibling commands at runtime.