Packagepotomac.inject
Interfacepublic interface IScoper

An IScoper allows callers to set the injection binding as a singleton. Singleton injection bindings prevent more than one instance of the injection class from being created.



Public Methods
 MethodDefined By
  
Sets the injection binding as a singleton.
IScoper
Method Detail
asSingleton()method
public function asSingleton():void

Sets the injection binding as a singleton.