2
0
mirror of https://github.com/acepanel/panel.git synced 2026-02-05 03:22:32 +08:00
Files
panel/app/providers/console_service_provider.go
2023-06-22 00:09:56 +08:00

22 lines
469 B
Go

package providers
import (
"github.com/goravel/framework/contracts/foundation"
"github.com/goravel/framework/facades"
"panel/app/console"
)
type ConsoleServiceProvider struct {
}
func (receiver *ConsoleServiceProvider) Register(app foundation.Application) {
kernel := console.Kernel{}
facades.Schedule().Register(kernel.Schedule())
facades.Artisan().Register(kernel.Commands())
}
func (receiver *ConsoleServiceProvider) Boot(app foundation.Application) {
}