RefreshCommand
class RefreshCommand extends Command (View source)
Traits
Methods
int
callSilent(
string $command,
array $arguments = array())
Call another console command silently.
from Command
bool
confirm(
string $question,
bool $default = false)
Confirm a question with the user.
from Command
string
anticipate(
string $question,
array $choices,
string $default = null)
Prompt the user for input with auto completion.
from Command
string
askWithCompletion(
string $question,
array $choices,
string $default = null)
Prompt the user for input with auto completion.
from Command
string
secret(
string $question,
bool $fallback = true)
Prompt the user for input but hide the answer from the console.
from Command
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.
from Command
void
table(
array $headers,
Arrayable|array $rows,
string $style = 'default')
Format input to textual table.
from Command
bool
confirmToProceed(
string $warning = 'Application In Production!',
Closure|bool|null $callback = null)
Confirm before proceeding with the action.
from ConfirmableTrait
void
fire()
Execute the console command.
Details
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.