RollbackCommand
class RollbackCommand extends Command (View source)
Traits
Methods
Call another console command silently.
Confirm a question with the user.
Prompt the user for input with auto completion.
Prompt the user for input with auto completion.
Prompt the user for input but hide the answer from the console.
Give the user a single choice from an array of answers.
Format input to textual table.
Confirm before proceeding with the action.
Execute the console command.
Details
at line line 41
void
__construct(
Migrator $migrator)
Create a new migration rollback command instance.
string
anticipate(
string $question,
array $choices,
string $default = null)
Prompt the user for input with auto completion.
string
askWithCompletion(
string $question,
array $choices,
string $default = null)
Prompt the user for input with auto completion.
string
secret(
string $question,
bool $fallback = true)
Prompt the user for input but hide the answer from the console.
string
choice(
string $question,
array $choices,
string $default = null,
mixed $attempts = null,
bool $multiple = null)
Give the user a single choice from an array of answers.
void
table(
array $headers,
Arrayable|array $rows,
string $style = 'default')
Format input to textual table.
in ConfirmableTrait at line line 16
bool
confirmToProceed(
string $warning = 'Application In Production!',
Closure|bool|null $callback = null)
Confirm before proceeding with the action.