Dry::Container::Mixin#register

Parsed documentation:
View on GitHub
Register an item with the container to be resolved later

@param [Mixed] key
  The key to register the container item with (used to resolve)
@param [Mixed] contents
  The item to register with the container (if no block given)
@param [Hash] options
  Options to pass to the registry when registering the item
@yield
  If a block is given, contents will be ignored and the block
  will be registered instead

@return [Dry::Container::Mixin] self

@api public
Suggestions:
Please help! Open an issue on GitHub if this assessment is incorrect.