Extends
Members
name :string
- Source:
 - Overrides:
 
    Name of the service provider.
Will be use for display only.
Methods
loadConfig(configPath)
- Source:
 - Inherited From:
 
    Load configuration file from given folder path.
    Parameters:
| Name | Type | Description | 
|---|---|---|
configPath | 
            
            string | The configuration folder path. | 
Returns:
    The current service provider instance.
    
loadCommands(commands)
- Source:
 - Inherited From:
 
    Load commands into the registrar.
    Parameters:
| Name | Type | Description | 
|---|---|---|
commands | 
            
            Array.<function()> | List of all commands that must be registered. | 
Returns:
    The current service provider instance.
    
loadTranslations(translationsPath)
- Source:
 - Inherited From:
 
    Load translations into the translator.
    Parameters:
| Name | Type | Description | 
|---|---|---|
translationsPath | 
            
            string | The translations folder path. | 
Returns:
    The current service provider instance.
    
loadViews(viewsPath, namespaceopt)
- Source:
 - Inherited From:
 
    Add views path in the resolver.
If given, it will add the views path as a namespace.
    Parameters:
| Name | Type | Attributes | Description | 
|---|---|---|---|
viewsPath | 
            
            string | The views path. | |
namespace | 
            
            string | 
                
                    <optional> | 
            
            
            The views namespace. | 
Returns:
    The current service provider instance.
    
publish(publications, tagopt)
- Source:
 - Inherited From:
 
    Publish paths, with an optional tag.
    Parameters:
| Name | Type | Attributes | Description | 
|---|---|---|---|
publications | 
            
            object.<string, string> | Dictionary representing the published paths, the "from" as keys and the "to" as values. | |
tag | 
            
            string | 
                
                    <optional> | 
            
            
            The tag to give to the publications. | 
Returns:
    The current service provider instance.
    
publishAssets(staticPath, folderopt)
- Source:
 - Inherited From:
 
    Publish static assets from given absolute folder path.
Can store assets in a subfolder of the application's public directory if needed.
    Parameters:
| Name | Type | Attributes | Default | Description | 
|---|---|---|---|---|
staticPath | 
            
            string | The absolute assets folder path to publish. | ||
folder | 
            
            string | 
                
                    <optional> | 
            
            
                
                
                    ""
                
                 | 
            
            The folder to store the assets when publishing. | 
Returns:
    The current service provider instance.
    
publishConfig(configPath)
- Source:
 - Inherited From:
 
    Publish configuration files from given absolute folder path.
    Parameters:
| Name | Type | Description | 
|---|---|---|
configPath | 
            
            string | The absolute configuration folder path to publish. | 
Returns:
    The current service provider instance.
    
publishMigrations(migrationsPath)
- Source:
 - Inherited From:
 
    Publish migration stub files from given absolute folder path.
Will only accept ".stub" files.
    Parameters:
| Name | Type | Description | 
|---|---|---|
migrationsPath | 
            
            string | The absolute migrations folder path to publish. | 
Returns:
    The current service provider instance.
    
publishTranslations(translationsPath)
- Source:
 - Inherited From:
 
    Publish translations files from given absolute folder path.
    Parameters:
| Name | Type | Description | 
|---|---|---|
translationsPath | 
            
            string | The absolute translations folder path to publish. | 
Returns:
    The current service provider instance.
    
publishViews(viewsPath, folderopt)
- Source:
 - Inherited From:
 
    Publish views files from given absolute folder path.
Can store views in a subfolder of the application's views directory if needed.
    Parameters:
| Name | Type | Attributes | Default | Description | 
|---|---|---|---|---|
viewsPath | 
            
            string | The absolute views folder path to publish. | ||
folder | 
            
            string | 
                
                    <optional> | 
            
            
                
                
                    ""
                
                 | 
            
            The folder to store the views when publishing. | 
Returns:
    The current service provider instance.
    
loadAndPublishConfig(configPath)
- Source:
 - Inherited From:
 
    Load and publish configuration files.
    Parameters:
| Name | Type | Description | 
|---|---|---|
configPath | 
            
            string | The configuration folder path. | 
Returns:
    The current service provider instance.
    
loadAndPublishTranslations(translationsPath)
- Source:
 - Inherited From:
 
    Load and publish translations from folder path.
    Parameters:
| Name | Type | Description | 
|---|---|---|
translationsPath | 
            
            string | The translations folder path. | 
Returns:
    The current service provider instance.
    
loadAndPublishViews(viewsPath, namespaceopt)
- Source:
 - Inherited From:
 
    Load and publish views with namespace from folder path, with an optional folder destination name.
    Parameters:
| Name | Type | Attributes | Description | 
|---|---|---|---|
viewsPath | 
            
            string | The absolute views folder path. | |
namespace | 
            
            string | 
                
                    <optional> | 
            
            
            The views namespace for resolver and the folder to create for publishing. | 
Returns:
    The current service provider instance.