Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewApplication ¶
Types ¶
type Application ¶
type Application struct {
// contains filtered or unexported fields
}
func (*Application) Call ¶
func (c *Application) Call(command string)
Call Run an Artisan console command by name.
func (*Application) CallAndExit ¶
func (c *Application) CallAndExit(command string)
CallAndExit Run an Artisan console command by name and exit.
func (*Application) Register ¶
func (c *Application) Register(commands []console.Command)
func (*Application) Run ¶
func (c *Application) Run(args []string, exitIfArtisan bool)
Run a command. Args come from os.Args.
type CliContext ¶
type CliContext struct {
// contains filtered or unexported fields
}
func (*CliContext) Argument ¶
func (r *CliContext) Argument(index int) string
func (*CliContext) Arguments ¶
func (r *CliContext) Arguments() []string
func (*CliContext) Option ¶
func (r *CliContext) Option(key string) string
type ServiceProvider ¶
type ServiceProvider struct {
}
func (*ServiceProvider) Boot ¶
func (receiver *ServiceProvider) Boot()
func (*ServiceProvider) Register ¶
func (receiver *ServiceProvider) Register()
Click to show internal directories.
Click to hide internal directories.