Skip to content

Latest commit

 

History

History
10 lines (6 loc) · 342 Bytes

README.md

File metadata and controls

10 lines (6 loc) · 342 Bytes

bargain_di

A poor man's dependency injector. This package will allow you to register classes once and have the ability to quickly initialize them. Main goals are to reduce parameter passing and to allow mocking during testing.

Getting Started

Register a type and it's initialization function.

Request for the registered type.