mercredi 23 mai 2018

Is there any proxy DI in Laravel?

Is there any proxy DI? because it it does not make sense to me to add DI in constructor if its being used by only one or two methods and which are not called very often..we can use new to get the instance in that method itself but i want to know if there is any alternative?



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire