NullOutput suppresses all output.
$output = new NullOutput();
- Auteur
- Fabien Potencier fabie.nosp@m.n@sy.nosp@m.mfony.nosp@m..com
-
Tobias Schultze http://tobion.de
◆ 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.
◆ setDecorated()
setDecorated |
( |
bool |
$decorated | ) |
|
◆ setFormatter()
◆ setVerbosity()
setVerbosity |
( |
int |
$level | ) |
|
◆ write()
write |
( |
|
$messages, |
|
|
bool |
$newline = false , |
|
|
int |
$options = 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.
◆ writeln()
writeln |
( |
|
$messages, |
|
|
int |
$options = 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.
◆ $formatter
La documentation de cette classe a été générée à partir du fichier suivant :