Anything you load in BaseController will be available in all the controllers that extend it. There is also the helper function “config()” which not only fetches a config but can use it immediately, e.g.:

(11-27-2019, 04:52 AM)MGatner Wrote: Anything you load in BaseController will be available in all the controllers that extend it. There is also the helper function “config()” which not only fetches a config but can use it immediately, e.g.:

We must be require to define some global value for application like number of pagination records, user type, site url etc. if you are working with small project then walgreenslistens i will suggest to create global config file for define constants variable.