Constructor
new Singleton(objectManager, prototypeWrapper)
Parameters:
Name | Type | Description |
---|---|---|
objectManager |
ObjectManager | |
prototypeWrapper |
PrototypeWrapper |
- Source:
The singleton instantiator will create a maximum of one instance of a module per dependency tree. When you request an already instantiated module, the singleton instantiator will return you the already instantiated module.
Name | Type | Description |
---|---|---|
objectManager |
ObjectManager | |
prototypeWrapper |
PrototypeWrapper |