Mirlo
- Description:
Mirlo
- Source:
- See:
Methods
(static) getComponentClass(name) → {Component}
- Description:
Get the component class.
- Source:
Parameters:
Name | Type | Description |
---|---|---|
name |
string | The component name. |
Returns:
- Type
- Component
(static) getService(name) → {Service}
- Description:
Get the service instance.
- Source:
Parameters:
Name | Type | Description |
---|---|---|
name |
string | The component name. |
Returns:
- Type
- Service
(static) getServiceClass(name) → {Service}
- Description:
Get the service class.
- Source:
Parameters:
Name | Type | Description |
---|---|---|
name |
string | The service name. |
Returns:
- Type
- Service
(static) registerComponent(name, component)
- Description:
Register a new component.
- Source:
Parameters:
Name | Type | Description |
---|---|---|
name |
string | The name for the component. |
component |
Component | The class of the component to allocate. |
(static) registerService(name, service, force)
- Description:
Register a new service.
- Source:
Parameters:
Name | Type | Description |
---|---|---|
name |
string | The service name. |
service |
Service | The service class. |
force |
boolean | Indicates if the service overwrite an existing one. |