InstallCommand
class InstallCommand extends Command (View source)
Methods
Create a new migration install command instance.
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.
Execute the console command.
Details
at line line 38
void
__construct(
MigrationRepositoryInterface $repository)
Create a new migration install 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.