i code some configuration setting. And need those values to be load, everytime my webapp start. yes, it’s somekind autoload setting.
But, right now, i have to choose between save it as object or array. is there any different between them when we save them in database ? which one is faster or maintainable or other pro and cons
thanks
You cannot save an object nor an array in the database.
Just make this method to fetch scalar values from the database and then organize it in the fashion you like.