Package | org.spicefactory.parsley.context |
Class | public class ScopeExtensionsBuilder |
Inheritance | ScopeExtensionsBuilder Object |
Implements | org.spicefactory.parsley.context.SetupPart |
Method | Defined By | ||
---|---|---|---|
forType(type:Class):ServiceBuilder
Specifies the implementation of a scope extension. | ScopeExtensionsBuilder |
forType | () | method |
public function forType(type:Class):ServiceBuilder
Specifies the implementation of a scope extension. A new instance of the extension will be created for each scope that gets created.
Parameters
type:Class — the type of the extension
|
ServiceBuilder — the builder for specifying the implementation or decorators for the scope extension
|