boot method
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 {}