Method: Dry::System::Provider#target_container

Defined in:
lib/dry/system/provider.rb

#target_containerDry::System::Container (readonly) Also known as: target

Returns the target container for the provider.

This is the container with which the provider is registered (via Container.register_provider).

Registered components from the provider’s container will be merged into this container after the prepare and start lifecycle steps.



110
111
112
# File 'lib/dry/system/provider.rb', line 110

def target_container
  @target_container
end