When a service requires some setup to initialize its default state through a method, how can you make sure that said method is invoked before the service gets injected anywhere?
When a service requires some setup to initialize its default state through a method, how can you make sure that said method is invoked before the service gets injected anywhere?