import { Platform } from "https://deno.land/x/momentum@v0.8.2/static-files/deps.ts";
The Momentum platform is the entry point for every Momentum application. Each application has exactly one platform and services are bound the scope of the platform.
Constructors
new
Platform(container: DiContainer)Properties
protected
logger: LoggerMethods
private
ensureInitialized()bootstrapModule(moduleType: ModuleClass)
Bootstrap a Momentum application on a given platform.
postBootstrap(): Promise<void>
preBootstrap(): Promise<void>
registerGlobalLoggingFilter(loggingFilter: LoggingFilter | Type<LoggingFilter>)
Register a global logging filter.
registerGlobalLoggingFormatter(loggingFormatter: LoggingFormatter | Type<LoggingFormatter>)
Register a global logging formatter.
registerGlobalLoggingProvider(loggingProvider: LoggingProvider | Type<LoggingProvider>)
Register a global logging provider.
resolve<TReturn = unknown>(identifier: TypeIdentifier)
Resolves an instance of @see TReturn