coldbox.system.ioc.scopes.IScope
The main interface to produce WireBox storage scopes
Constructor Summary | |
---|---|
init(any<Injector> injector)
Configure the scope for operation and returns itself. |
Method Summary | |
---|---|
any
|
getFromScope(any<Mapping> mapping, [any<struct> initArguments])
Retrieve an object from scope or create it if not found in scope. |
Constructor Detail |
---|
Configure the scope for operation and returns itself
injector
- The linked WireBox injectorMethod Detail |
---|
Retrieve an object from scope or create it if not found in scope
mapping
- The object mappinginitArguments
- The constructor structure of arguments to passthrough when initializing the instance