RoutesCommand
class RoutesCommand extends Command (View source)
Methods
void
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
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
bool
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,
array $rows,
string $style = 'default')
Format input to textual table
from Command
void
fire()
Execute the console command.
Details
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.
bool
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.