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?



from Newest questions tagged laravel-5 - Stack Overflow https://ift.tt/2s2XyNY
via IFTTT

Aucun commentaire:

Enregistrer un commentaire