@@ -22,17 +22,17 @@ import {
2222/**
2323 * ProvidersManager handles the complete lifecycle of service providers in an AdonisJS application.
2424 * It manages provider registration, booting, starting, readying, and shutdown phases.
25- *
25+ *
2626 * Service providers are classes that register services, bind dependencies, and set up
2727 * application components during different phases of the application lifecycle.
28- *
28+ *
2929 * Lifecycle phases:
3030 * 1. **Register**: Bind services to the IoC container
3131 * 2. **Boot**: Initialize services after all providers are registered
3232 * 3. **Start**: Start services (e.g., HTTP server, background jobs)
3333 * 4. **Ready**: Notify services that application is ready to serve requests
3434 * 5. **Shutdown**: Gracefully shutdown services during app termination
35- *
35+ *
3636 * @example
3737 * const manager = new ProvidersManager({ environment: 'web', providersState: [app] })
3838 * manager.use([
@@ -47,7 +47,7 @@ export class ProvidersManager {
4747 /**
4848 * Array of instantiated provider instances used throughout the application lifecycle.
4949 * These instances are created during the register phase and reused for all subsequent phases.
50- *
50+ *
5151 * @private
5252 * @type {ContainerProviderContract[] }
5353 * @default []
@@ -58,7 +58,7 @@ export class ProvidersManager {
5858 * Array of provider instances that implement the shutdown lifecycle method.
5959 * Kept separately to enable efficient shutdown processing without scanning all providers.
6060 * These providers are called during application termination for cleanup.
61- *
61+ *
6262 * @private
6363 * @type {ContainerProviderContract[] }
6464 * @default []
@@ -69,7 +69,7 @@ export class ProvidersManager {
6969 * Array of provider nodes from the adonisrc.js configuration.
7070 * Each node contains the import function and environment restrictions.
7171 * Cleared after providers are resolved and instantiated.
72- *
72+ *
7373 * @private
7474 * @type {ProviderNode[] }
7575 * @default []
@@ -78,7 +78,7 @@ export class ProvidersManager {
7878
7979 /**
8080 * Configuration options for the providers manager.
81- *
81+ *
8282 * @private
8383 * @type {Object }
8484 * @property {AppEnvironments } environment - Current application environment for filtering providers
0 commit comments