mirror of
https://github.com/sergeyyarkov/educt-server.git
synced 2026-10-11 10:19:20 +03:00
22 lines
402 B
TypeScript
22 lines
402 B
TypeScript
import { ApplicationContract } from '@ioc:Adonis/Core/Application';
|
|
|
|
export default class AppProvider {
|
|
constructor(protected app: ApplicationContract) {}
|
|
|
|
public register() {
|
|
// Register your own bindings
|
|
}
|
|
|
|
public async boot() {
|
|
// IoC container is ready
|
|
}
|
|
|
|
public async ready() {
|
|
// App is ready
|
|
}
|
|
|
|
public async shutdown() {
|
|
// Cleanup, since app is going down
|
|
}
|
|
}
|