2
0
mirror of https://github.com/acepanel/panel.git synced 2026-02-04 11:27:17 +08:00
Files
panel/app/providers/console_service_provider.go
2024-05-29 21:31:01 +08:00

22 lines
487 B
Go

package providers
import (
"github.com/goravel/framework/contracts/foundation"
"github.com/goravel/framework/facades"
"github.com/TheTNB/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) {
}