mercredi 23 novembre 2016

How Laravel's container binding mechanisms differ?

I'm looking at Laravel's service container docs, specifically the binding section.

What are the differences and when should I use each type of binding? The documentation mentions:

  • Simple Binding
  • Singleton Binding
  • Instance Binding
  • Primitive binding
  • Interface binding

Aucun commentaire:

Enregistrer un commentaire