boot method

Future<void> boot(
  1. ServiceContainer container
)

Performs asynchronous boot-time initialization.

Called after all providers have registered.

Safe to:

  • Register routes
  • Set up event listeners
  • Perform database migrations
  • Resolve and configure services

Default implementation does nothing.

Implementation

Future<void> boot(ServiceContainer container) async {}