class PoppyMigrateRefreshCommand extends Command

Poppy Migrate Refresh

Traits

ConfirmableTrait

Properties

protected string $name

The console command name.

protected string $description

The console command description.

Methods

handle()

Execute the console command.

bool
needsSeeding()

Determine if the developer has requested database seeding.

runSeeder(string $slug = null, string $database = null)

Run the module seeder command.

array
getArguments()

Get the console command arguments.

array
getOptions()

Get the console command options.

Details

at line 35
handle()

Execute the console command.

at line 75
protected bool needsSeeding()

Determine if the developer has requested database seeding.

Return Value

bool

at line 85
protected runSeeder(string $slug = null, string $database = null)

Run the module seeder command.

Parameters

string $slug slug
string $database database

at line 97
protected array getArguments()

Get the console command arguments.

Return Value

array

at line 108
protected array getOptions()

Get the console command options.

Return Value

array