|
| __construct (OutputInterface $output) |
|
| newLine (int $count=1) |
|
| createProgressBar (int $max=0) |
|
| write ($messages, bool $newline=false, int $type=self::OUTPUT_NORMAL) |
|
| writeln ($messages, int $type=self::OUTPUT_NORMAL) |
|
| setVerbosity (int $level) |
|
| getVerbosity () |
|
| setDecorated (bool $decorated) |
|
| isDecorated () |
|
| setFormatter (OutputFormatterInterface $formatter) |
|
| getFormatter () |
|
| isQuiet () |
|
| isVerbose () |
|
| isVeryVerbose () |
|
| isDebug () |
|
| title (string $message) |
|
| section (string $message) |
|
| listing (array $elements) |
|
| text ($message) |
|
| success ($message) |
|
| error ($message) |
|
| warning ($message) |
|
| note ($message) |
|
| caution ($message) |
|
| table (array $headers, array $rows) |
|
| ask (string $question, string $default=null, callable $validator=null) |
|
| askHidden (string $question, callable $validator=null) |
|
| confirm (string $question, bool $default=true) |
|
| choice (string $question, array $choices, $default=null) |
|
| progressStart (int $max=0) |
|
| progressAdvance (int $step=1) |
|
| progressFinish () |
|
Decorates output to add console style guide helpers.
- Auteur
- Kevin Bond kevin.nosp@m.bond.nosp@m.@gmai.nosp@m.l.co.nosp@m.m
◆ __construct()
◆ createProgressBar()
createProgressBar |
( |
int |
$max = 0 | ) |
|
◆ getErrorOutput()
◆ getFormatter()
◆ getVerbosity()
{Gets the current verbosity of the output.
- Renvoie
- int
}
Implémente OutputInterface.
◆ isDebug()
{Returns whether verbosity is debug (-vvv).
- Renvoie
- bool
}
Implémente OutputInterface.
◆ isDecorated()
◆ isQuiet()
{Returns whether verbosity is quiet (-q).
- Renvoie
- bool
}
Implémente OutputInterface.
◆ isVerbose()
{Returns whether verbosity is verbose (-v).
- Renvoie
- bool
}
Implémente OutputInterface.
◆ isVeryVerbose()
{Returns whether verbosity is very verbose (-vv).
- Renvoie
- bool
}
Implémente OutputInterface.
◆ newLine()
newLine |
( |
int |
$count = 1 | ) |
|
◆ setDecorated()
setDecorated |
( |
bool |
$decorated | ) |
|
◆ setFormatter()
◆ setVerbosity()
setVerbosity |
( |
int |
$level | ) |
|
◆ write()
write |
( |
|
$messages, |
|
|
bool |
$newline = false , |
|
|
int |
$type = self::OUTPUT_NORMAL |
|
) |
| |
{Writes a message to the output.
- Paramètres
-
string | iterable | $messages | The message as an iterable of strings or a single string |
bool | $newline | Whether to add a newline |
int | $options | A bitmask of options (one of the OUTPUT or VERBOSITY constants), 0 is considered the same as self::OUTPUT_NORMAL | self::VERBOSITY_NORMAL |
}
Implémente OutputInterface.
Références $messages, et $type.
◆ writeln()
writeln |
( |
|
$messages, |
|
|
int |
$type = self::OUTPUT_NORMAL |
|
) |
| |
{Writes a message to the output and adds a newline at the end.
- Paramètres
-
string | iterable | $messages | The message as an iterable of strings or a single string |
int | $options | A bitmask of options (one of the OUTPUT or VERBOSITY constants), 0 is considered the same as self::OUTPUT_NORMAL | self::VERBOSITY_NORMAL |
}
Implémente OutputInterface.
Références $messages, et $type.
◆ $output
La documentation de cette classe a été générée à partir du fichier suivant :