Documentation
¶
Index ¶
- type FactoryMakeCommand
- type ModelMakeCommand
- type ObserverMakeCommand
- type SeedCommand
- func (r *SeedCommand) ConfirmToProceed(force bool) error
- func (r *SeedCommand) Description() string
- func (r *SeedCommand) Extend() command.Extend
- func (r *SeedCommand) GetSeeders(names []string) ([]contractsseeder.Seeder, error)
- func (r *SeedCommand) Handle(ctx console.Context) error
- func (r *SeedCommand) Signature() string
- type SeederMakeCommand
- type ShowCommand
- type Stubs
- type TableCommand
- type WipeCommand
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FactoryMakeCommand ¶
type FactoryMakeCommand struct {
}
func NewFactoryMakeCommand ¶
func NewFactoryMakeCommand() *FactoryMakeCommand
func (*FactoryMakeCommand) Description ¶
func (r *FactoryMakeCommand) Description() string
Description The console command description.
func (*FactoryMakeCommand) Extend ¶
func (r *FactoryMakeCommand) Extend() command.Extend
Extend The console command extend.
func (*FactoryMakeCommand) Handle ¶
func (r *FactoryMakeCommand) Handle(ctx console.Context) error
Handle Execute the console command.
func (*FactoryMakeCommand) Signature ¶
func (r *FactoryMakeCommand) Signature() string
Signature The name and signature of the console command.
type ModelMakeCommand ¶
type ModelMakeCommand struct {
// contains filtered or unexported fields
}
func NewModelMakeCommand ¶
func NewModelMakeCommand(artisan console.Artisan, schema schema.Schema) *ModelMakeCommand
func (*ModelMakeCommand) Description ¶
func (r *ModelMakeCommand) Description() string
func (*ModelMakeCommand) Extend ¶
func (r *ModelMakeCommand) Extend() command.Extend
func (*ModelMakeCommand) Signature ¶
func (r *ModelMakeCommand) Signature() string
type ObserverMakeCommand ¶
type ObserverMakeCommand struct {
}
func NewObserverMakeCommand ¶
func NewObserverMakeCommand() *ObserverMakeCommand
func (*ObserverMakeCommand) Description ¶
func (r *ObserverMakeCommand) Description() string
Description The console command description.
func (*ObserverMakeCommand) Extend ¶
func (r *ObserverMakeCommand) Extend() command.Extend
Extend The console command extend.
func (*ObserverMakeCommand) Handle ¶
func (r *ObserverMakeCommand) Handle(ctx console.Context) error
Handle Execute the console command.
func (*ObserverMakeCommand) Signature ¶
func (r *ObserverMakeCommand) Signature() string
Signature The name and signature of the console command.
type SeedCommand ¶
type SeedCommand struct {
// contains filtered or unexported fields
}
func NewSeedCommand ¶
func NewSeedCommand(config config.Config, seeder contractsseeder.Facade) *SeedCommand
func (*SeedCommand) ConfirmToProceed ¶
func (r *SeedCommand) ConfirmToProceed(force bool) error
ConfirmToProceed determines if the command should proceed based on user confirmation.
func (*SeedCommand) Description ¶
func (r *SeedCommand) Description() string
Description The console command description.
func (*SeedCommand) Extend ¶
func (r *SeedCommand) Extend() command.Extend
Extend The console command extend.
func (*SeedCommand) GetSeeders ¶
func (r *SeedCommand) GetSeeders(names []string) ([]contractsseeder.Seeder, error)
GetSeeders returns a seeder instances
func (*SeedCommand) Handle ¶
func (r *SeedCommand) Handle(ctx console.Context) error
Handle executes the console command.
func (*SeedCommand) Signature ¶
func (r *SeedCommand) Signature() string
Signature The name and signature of the console command.
type SeederMakeCommand ¶
type SeederMakeCommand struct {
// contains filtered or unexported fields
}
func NewSeederMakeCommand ¶
func NewSeederMakeCommand(app foundation.Application) *SeederMakeCommand
func (*SeederMakeCommand) Description ¶
func (r *SeederMakeCommand) Description() string
Description The console command description.
func (*SeederMakeCommand) Extend ¶
func (r *SeederMakeCommand) Extend() command.Extend
Extend The console command extend.
func (*SeederMakeCommand) Handle ¶
func (r *SeederMakeCommand) Handle(ctx console.Context) error
Handle Execute the console command.
func (*SeederMakeCommand) Signature ¶
func (r *SeederMakeCommand) Signature() string
Signature The name and signature of the console command.
type ShowCommand ¶
type ShowCommand struct {
// contains filtered or unexported fields
}
func NewShowCommand ¶
func NewShowCommand(config config.Config, schema schema.Schema) *ShowCommand
func (*ShowCommand) Description ¶
func (r *ShowCommand) Description() string
Description The console command description.
func (*ShowCommand) Extend ¶
func (r *ShowCommand) Extend() command.Extend
Extend The console command extend.
func (*ShowCommand) Handle ¶
func (r *ShowCommand) Handle(ctx console.Context) error
Handle Execute the console command.
func (*ShowCommand) Signature ¶
func (r *ShowCommand) Signature() string
Signature The name and signature of the console command.
type TableCommand ¶
type TableCommand struct {
// contains filtered or unexported fields
}
func NewTableCommand ¶
func NewTableCommand(config config.Config, schema schema.Schema) *TableCommand
func (*TableCommand) Description ¶
func (r *TableCommand) Description() string
Description The console command description.
func (*TableCommand) Extend ¶
func (r *TableCommand) Extend() command.Extend
Extend The console command extend.
func (*TableCommand) Handle ¶
func (r *TableCommand) Handle(ctx console.Context) error
Handle Execute the console command.
func (*TableCommand) Signature ¶
func (r *TableCommand) Signature() string
Signature The name and signature of the console command.
type WipeCommand ¶
type WipeCommand struct {
// contains filtered or unexported fields
}
func NewWipeCommand ¶
func NewWipeCommand(config config.Config, schema schema.Schema) *WipeCommand
func (*WipeCommand) Description ¶
func (r *WipeCommand) Description() string
Description The console command description.
func (*WipeCommand) Extend ¶
func (r *WipeCommand) Extend() command.Extend
Extend The console command extend.
func (*WipeCommand) Handle ¶
func (r *WipeCommand) Handle(ctx console.Context) error
Handle Execute the console command.
func (*WipeCommand) Signature ¶
func (r *WipeCommand) Signature() string
Signature The name and signature of the console command.