Function singleInstance

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

poodinis.registration.Registration singleInstance (
  poodinis.registration.Registration registration
);

Effectively makes the given registration a singleton.