Version: 3.x.x
Dependency Injection
With the Get
module you can easy inject your dependencies as a singleton, lazy singleton or as a factory.
#
Singletons#
FactoryIf you want to get a new instance every time you call find in that case you could use factoryPut
NOTE
If you want pass an initial value to AuthRepository
#
TestingTo avoid conflics with dependencies injected in the Get module you can clear the dependencies using a setUp
or a tearDown
before or after each test.