Documentation
¶
Index ¶
Constants ¶
View Source
const EnvironmentFile string = ".env"
View Source
const Version string = "0.4.1"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Application ¶
type Application struct {
// contains filtered or unexported fields
}
func (*Application) Call ¶ added in v0.1.0
func (app *Application) Call(command string)
Call Run an Artisan console command by name.
func (*Application) CallAndExit ¶ added in v0.4.1
func (app *Application) CallAndExit(command string)
CallAndExit Run an Artisan console command by name and exit.
func (*Application) Init ¶
func (app *Application) Init() *Application
Init Listen to artisan, Run the registered commands.
func (*Application) Register ¶
func (app *Application) Register(commands []console.Command)
Register Register commands.
func (*Application) Run ¶ added in v0.1.2
func (app *Application) Run(args []string, exitIfArtisan bool)
Run a command. Args come from os.Args.
type ServiceProvider ¶
type ServiceProvider struct {
}
func (*ServiceProvider) Boot ¶
func (console *ServiceProvider) Boot()
Boot Bootstrap any application services after register.
func (*ServiceProvider) Register ¶
func (console *ServiceProvider) Register()
Register any application services.
Click to show internal directories.
Click to hide internal directories.