Welcome Guest, Not a member yet? Register   Sign In
Return autoload.
#1

Return autoload.
In ci3 it was convenient. config/autoload.php


Code:
$autoload['libraries'] = array('test_lib');


Projects often use the same libraries and helpers.
Starting to write a controller with a bunch of new \ App \ Libraries \ MyLib is funny.
It’s stupid to do BaseController from which to use all other controllers for their use.
I think the idea of autoloading libraries and helpers in Ci3 was wonderful.
Or just explain how easier it is to work with libraries and helpers that are used constantly in the application.
Reply


Messages In This Thread
Return autoload. - by ramstudio - 01-07-2019, 09:04 AM
RE: Return autoload. - by kierownik - 01-07-2019, 09:39 AM
RE: Return autoload. - by ciadmin - 01-07-2019, 10:25 AM
RE: Return autoload. - by donpwinston - 01-07-2019, 10:57 AM
RE: Return autoload. - by ramstudio - 01-08-2019, 07:53 AM



Theme © iAndrew 2016 - Forum software by © MyBB