mirror of
https://github.com/vkaelin/LeagueStats.git
synced 2026-03-25 21:07:27 +00:00
25 lines
458 B
TypeScript
25 lines
458 B
TypeScript
import { IocContract } from '@adonisjs/fold'
|
|
|
|
export default class AppProvider {
|
|
constructor (protected $container: IocContract) {
|
|
}
|
|
|
|
public register () {
|
|
// Register your own bindings
|
|
}
|
|
|
|
public async boot () {
|
|
// IoC container is ready
|
|
|
|
// Load Match Collections
|
|
await import('App/Repositories/MatchRepository')
|
|
}
|
|
|
|
public shutdown () {
|
|
// Cleanup, since app is going down
|
|
}
|
|
|
|
public ready () {
|
|
// App is ready
|
|
}
|
|
}
|