Laravel App Architecture 5 - The Repository Pattern

289 views

0   0


We can bind an implementation to an interface in the IoC container, and when this interface is injected into our controller it will be automatically resolved for us. Creating IoC bindings and coding to abstractions will allow us to rapidly switch implementations in the future if required.

Have a wonderful day and happy coding!

View More
Comments

0 Comments