I am creating a custom library in Codeigniter 4 which is located in the Library folder.. I have a config file which is in the default config file folder.
Is there a method to shorten the way the variables from the config file are called?
This is the way I do it now inside every function:
config('Myconfig')->varInsideConfig;