Creates an object that can configure/extend the container by registering services and resources.
class APIClient {} const apiClientProvider = provider((app) => { app.set('apiClient', () => new APIClient()); }); Copy
class APIClient {} const apiClientProvider = provider((app) => { app.set('apiClient', () => new APIClient()); });
Creates an object that can configure/extend the container by registering services and resources.
Example