__remap() Function in CodeIgniter 4 | Method Remapping
In CodeIgniter we can remap function calls with the use of the function in controller called _remap() method. The __remap() method will call every time that the controller is called even if a different function is used. Simply, we can say that remap() function will remap URI requests to specific controller methods. … Read more