class DrushStyle extends SymfonyStyle (View source)

Methods

confirm($question, $default = true)

No description

mixed
choice(string $question, array $choices, null $default = null)

No description

warning($message)

No description

note($message)

No description

caution($message)

No description

Details

confirm($question, $default = true)

Parameters

$question
$default

mixed choice(string $question, array $choices, null $default = null)

Parameters

string $question
array $choices If an associative array is passed, the chosen key is returned.
null $default

Return Value

mixed

warning($message)

Parameters

$message

note($message)

Parameters

$message

caution($message)

Parameters

$message