registerScope method
Registers a new scope with the given name.
Scopes control the lifecycle and visibility of pods. Common scopes include 'singleton', 'prototype', 'request', 'session', etc.
Usage Example:
factory.registerScope('request', RequestScope());
factory.registerScope('session', SessionScope());
@param scopeName The name of the scope to register @param scope The scope implementation to register
Implementation
@override
void registerScope(String scopeName, PodScope scope) {
_assertThatPodFactoryIsActive();
return getPodFactory().registerScope(scopeName, scope);
}