In various middlewares and other services, ive need to inject the container at a method level. This would be better suited to an interface 'Has_Container' which will expect a 'Set_Di_Container’ method. This could then be matched with a trait 'Inject_Container' that supplies the 'Set_Si_Container’ method and populates a property.
In various middlewares and other services, ive need to inject the container at a method level. This would be better suited to an interface 'Has_Container' which will expect a 'Set_Di_Container’ method. This could then be matched with a trait 'Inject_Container' that supplies the 'Set_Si_Container’ method and populates a property.