Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Laravel's Dependency Injection

Laravel's Dependency Injection

A small lightning talk for non-laravel users on why I like the dependency injection options that Laravel gives you.

Hannes Van De Vreken

July 30, 2014
Tweet

More Decks by Hannes Van De Vreken

Other Decks in Programming

Transcript

  1. SERVICE PROVIDER - REGISTER • Bind closures • Define Interface

    aliases • Don’t use other stuff outside closures
  2. • https:/ /github.com/laravel/laravel • http:/ /laravel.com/docs/ioc • https:/ /github.com/illuminate/container •

    http:/ /wikipedia.org/wiki/Dependency_injection • http:/ /laravel.com/docs/ioc#service-providers • http:/ /laravel.com/docs/packages#service-providers • http:/ /laravel.com/docs/facades • http:/ /laravel.com/docs/facades#mocking-facades REFERENCES