mirror of
https://github.com/acepanel/panel.git
synced 2026-02-05 03:22:32 +08:00
22 lines
469 B
Go
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) {
|
|
|
|
}
|