Function is responsible for calling all registered Booter classes that are bound to the Application instance. Each phase of an instance must complete before the next phase is started.
boot(execOptions?: BootExecutionOptions, ctx?: Context): Promise<Context>;
|execOptions||BootExecutionOptions||Execution options for boot. These determine the phases and booters that are run.|
|ctx||Context||Optional Context to use to resolve bindings. This is primarily useful when running app.boot() again but with different settings (in particular phases) such as ‘start’ / ‘stop’. Using a returned Context from a previous boot call allows DI to retrieve the same instances of Booters previously used as they are bound using a CONTEXT scope. This is important as Booter instances may maintain state.|