MCPcopy
hub / github.com/adonisjs/core / boot

Method boot

providers/app_provider.ts:378–380  ·  view source on GitHub ↗

* Boot the service provider * * Called after all providers have been registered. Sets up * event emitter for BaseEvent and adds transform macro to HttpContext. * * @example * await provider.boot() * // Now HttpContext has transform method available

()

Source from the content-addressed store, hash-verified

376 * // Now HttpContext has transform method available
377 */
378 async boot() {
379 BaseEvent.useEmitter(await this.app.container.make('emitter'))
380 }
381
382 /**
383 * Called when the application is ready

Callers

nothing calls this directly

Calls 1

makeMethod · 0.80

Tested by

no test coverage detected