Class: CoreServiceProvider
Class: CoreServiceProvider
Class representing a CoreServiceProvider.
The CoreServiceProvider is responsible for managing the core services, listeners, subscribers, and adapters required by the application. It interacts with the service container to bind and resolve dependencies, ensuring all components are available when needed.
Author
Mr. Stone evensstone@gmail.com
Implements
Constructors
Constructor
new CoreServiceProvider(container): CoreServiceProvider;
Create a new instance of CoreServiceProvider.
Parameters
container
The service container to manage dependencies.
Returns
CoreServiceProvider
Throws
If the Blueprint config or EventEmitter is not bound to the container.
Methods
boot()
boot(): Promise<void>;
Boots the provider after registration. This method is used to initialize services that need to be started.
Returns
Promise
<void
>
Implementation of
register()
register(): void;
Registers the provider into the system. Typically used for adding services or bindings to the container.
Returns
void