Move shouldDiscover in a new system/Modules class
Move shouldDiscover in a new system/Modules class

Creating new system/Modules/Modules.php file and moves shouldDiscover function into it away from user hand like before app/Config/Modules.php
to help avoid tampering with the core functions
bcit-ci/CodeIgniter4,gustavojm/CodeIgniter4,natanfelles/CodeIgniter4,samsonasik/CodeIgniter4,samsonasik/CodeIgniter4,samsonasik/CodeIgniter4,lonnieezell/CodeIgniter4,ytetsuro/CodeIgniter4,gustavojm/CodeIgniter4,samsonasik/CodeIgniter4,lonnieezell/CodeIgniter4,samsonasik/CodeIgniter4,gustavojm/CodeIgniter4,natanfelles/CodeIgniter4,ytetsuro/CodeIgniter4,ytetsuro/CodeIgniter4,lonnieezell/CodeIgniter4,natanfelles/CodeIgniter4,gustavojm/CodeIgniter4,kenjis/CodeIgniter4,ytetsuro/CodeIgniter4,bcit-ci/CodeIgniter4,lonnieezell/CodeIgniter4,natanfelles/CodeIgniter4,kenjis/CodeIgniter4,ytetsuro/CodeIgniter4,lonnieezell/CodeIgniter4,kenjis/CodeIgniter4,lonnieezell/CodeIgniter4,natanfelles/CodeIgniter4,bcit-ci/CodeIgniter4,samsonasik/CodeIgniter4,bcit-ci/CodeIgniter4,kenjis/CodeIgniter4,bcit-ci/CodeIgniter4,ytetsuro/CodeIgniter4,kenjis/CodeIgniter4,natanfelles/CodeIgniter4