Function existingInstance

Scopes registrations to return the given instance every time the given registration is resolved.

poodinis.registration.Registration existingInstance (
  poodinis.registration.Registration registration,
  Object instance
);