Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
9 lines (6 sloc) 265 Bytes

Example of manual dependency injection

This example repo show cases three different types of dependency injection

  • setter injection
  • constructor injection
  • require injection

It also shows what the test and code looks like without any dependency injection