SessionTableCommand
class SessionTableCommand extends Command (View source)
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.
Write a string as information output.
Write a string as standard output.
Write a string as comment output.
Write a string as question output.
Write a string as error output.
Write a string as warning output.
Execute the console command.
Details
at line line 44
void
__construct(
Filesystem $files,
Composer $composer)
Create a new session table 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.
void
line(
string $string,
string $style = null,
null|int|string $verbosity = null)
Write a string as standard output.
void
question(
string $string,
null|int|string $verbosity = null)
Write a string as question output.