Welcome Guest, Not a member yet? Register   Sign In
Custom Library config file
#1

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;
Reply




Theme © iAndrew 2016 - Forum software by © MyBB