Methods
# build(obj, args) → {T}
Builds an Object by name
Parameters:
Name | Type | Description |
---|---|---|
obj |
Object
|
|
args |
Array.<any>
|
T
T
# get(name, args) → {Constructor.<T>|undefined}
Retrieves an Builder Object by name if it can
Parameters:
Name | Type | Description |
---|---|---|
name |
string
|
|
args |
Array.<any>
|
Constructor.<T>
|
undefined
# register(constructoropt, name, args) → {void}
Registers a constructor by name
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
constructor |
Constructor.<T>
|
<optional> |
|
name |
name
|
||
args |
Array.<any>
|
void