extends |
BaseCommand |
|---|---|
implements |
PromptsForMissingInput |
| Methods | ||
|---|---|---|
public
|
__construct(MigrationCreator $creator, Composer $composer)
|
# |
public
|
handle(): void
|
# |
protected
|
writeMigration(string $name, string $table, bool $create): void
|
# |
protected
|
getMigrationPath(): string
|
# |
protected
|
promptForMissingArgumentsUsing(): array
|
# |
| Methods inherited from Illuminate\Database\Console\Migrations\BaseCommand |
|---|
getMigrationPaths(), usingRealPath(), |
| Methods used from Illuminate\Console\Concerns\CallsCommands |
|---|
call(), callSilent(), callSilently(), runCommand(), createInputFromArguments(), context() |
| Methods used from Illuminate\Console\Concerns\HasParameters |
|---|
specifyParameters(), getArguments(), getOptions() |
| Methods used from Illuminate\Console\Concerns\InteractsWithSignals |
|---|
trap() |
| Methods used from Illuminate\Console\Concerns\PromptsForMissingInput |
|---|
interact(), promptForMissingArguments(), afterPromptingForMissingArguments(), didReceiveOptions() |
| Methods used from Illuminate\Support\Traits\Macroable |
|---|
macro(), mixin(), hasMacro(), flushMacros(), __callStatic(), __call() |
| Constants inherited from Symfony\Component\Console\Command\Command |
|---|
|
| Properties | |||
|---|---|---|---|
protected
|
string
|
$signature = 'make:migration {name : The name of the migration}
{--create= : The table to be created}
{--table= : The table to migrate}
{--path= : The location where the migration file should be created}
{--realpath : Indicate any provided migration file paths are pre-resolved absolute paths}
{--fullpath : Output the full path of the migration (Deprecated)}'
|
# |
protected
|
string
|
$description = 'Create a new migration file'
|
# |
protected
|
MigrationCreator
|
$creator
|
# |
protected
|
Composer
|
$composer
|
# |
| Properties inherited from Illuminate\Console\Command |
|---|
$laravel, $name, $help, $hidden, $isolated, $isolatedExitCode, $aliases |
| Properties used from Illuminate\Console\Concerns\InteractsWithIO |
|---|
$components, $input, $output, $verbosity, $verbosityMap |
| Properties used from Illuminate\Console\Concerns\InteractsWithSignals |
|---|
$signals |
| Properties used from Illuminate\Support\Traits\Macroable |
|---|
$macros |