I'm using laravel 5.* (And also I use Laravel 4) and I can't understand why it's better to inject an interface instead a concrete class.
What are the benefits?
I'm injecting interfaces because I read that it's too much better, but, I can't understand why.
Thanks!
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire