mirror of
https://github.com/ArthurDanjou/artdanj-api.git
synced 2026-01-14 20:19:26 +01:00
25 lines
449 B
TypeScript
Executable File
25 lines
449 B
TypeScript
Executable File
import { ApplicationContract } from '@ioc:Adonis/Core/Application'
|
|
|
|
export default class AppProvider {
|
|
public static needsApplication = true
|
|
|
|
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
|
|
}
|
|
}
|