![]() |
TYPO3
7.6
|
Public Member Functions | |
setFormatter (OutputFormatterInterface $formatter) | |
getFormatter () | |
setDecorated ($decorated) | |
isDecorated () | |
setVerbosity ($level) | |
getVerbosity () | |
isQuiet () | |
isVerbose () | |
isVeryVerbose () | |
isDebug () | |
writeln ($messages, $type=self::OUTPUT_NORMAL) | |
write ($messages, $newline=false, $type=self::OUTPUT_NORMAL) | |
Additional Inherited Members | |
![]() | |
const | VERBOSITY_QUIET = 0 |
const | VERBOSITY_NORMAL = 1 |
const | VERBOSITY_VERBOSE = 2 |
const | VERBOSITY_VERY_VERBOSE = 3 |
const | VERBOSITY_DEBUG = 4 |
const | OUTPUT_NORMAL = 0 |
const | OUTPUT_RAW = 1 |
const | OUTPUT_PLAIN = 2 |
NullOutput suppresses all output.
$output = new NullOutput();
Definition at line 27 of file NullOutput.php.
getFormatter | ( | ) |
{Returns current output formatter instance.
Implements OutputInterface.
Definition at line 40 of file NullOutput.php.
getVerbosity | ( | ) |
{Gets the current verbosity of the output.
Implements OutputInterface.
Definition at line 73 of file NullOutput.php.
isDebug | ( | ) |
Definition at line 93 of file NullOutput.php.
isDecorated | ( | ) |
{Gets the decorated flag.
Implements OutputInterface.
Definition at line 57 of file NullOutput.php.
isQuiet | ( | ) |
Definition at line 78 of file NullOutput.php.
isVerbose | ( | ) |
Definition at line 83 of file NullOutput.php.
isVeryVerbose | ( | ) |
Definition at line 88 of file NullOutput.php.
setDecorated | ( | $decorated | ) |
{Sets the decorated flag.
bool | $decorated | Whether to decorate the messages |
Implements OutputInterface.
Definition at line 49 of file NullOutput.php.
setFormatter | ( | OutputFormatterInterface | $formatter | ) |
{Sets output formatter.
OutputFormatterInterface | $formatter |
Implements OutputInterface.
Definition at line 32 of file NullOutput.php.
setVerbosity | ( | $level | ) |
{Sets the verbosity of the output.
int | $level | The level of verbosity (one of the VERBOSITY constants) |
Implements OutputInterface.
Definition at line 65 of file NullOutput.php.
write | ( | $messages, | |
$newline = false , |
|||
$type = self::OUTPUT_NORMAL |
|||
) |
{Writes a message to the output.
string | array | $messages | The message as an array of lines or a single string |
bool | $newline | Whether to add a newline |
int | $type | The type of output (one of the OUTPUT constants) |
\InvalidArgumentException | When unknown output type is given |
Implements OutputInterface.
Definition at line 109 of file NullOutput.php.
writeln | ( | $messages, | |
$type = self::OUTPUT_NORMAL |
|||
) |
{Writes a message to the output and adds a newline at the end.
string | array | $messages | The message as an array of lines of a single string |
int | $type | The type of output (one of the OUTPUT constants) |
\InvalidArgumentException | When unknown output type is given |
Implements OutputInterface.
Definition at line 101 of file NullOutput.php.