TYPO3
7.6
|
Public Member Functions | |
setDecorated ($decorated) | |
isDecorated () | |
setStyle ($name, OutputFormatterStyleInterface $style) | |
hasStyle ($name) | |
getStyle ($name) | |
format ($message) | |
Formatter interface for console output.
Definition at line 21 of file OutputFormatterInterface.php.
format | ( | $message | ) |
Formats a message according to the given styles.
string | $message | The message to style |
Implemented in OutputFormatter.
Referenced by Helper\strlenWithoutDecoration().
getStyle | ( | $name | ) |
Gets style options from style with specified name.
string | $name |
Implemented in OutputFormatter.
hasStyle | ( | $name | ) |
Checks if output formatter has style with specified name.
string | $name |
Implemented in OutputFormatter.
isDecorated | ( | ) |
Gets the decorated flag.
Implemented in OutputFormatter.
Referenced by Helper\strlenWithoutDecoration().
setDecorated | ( | $decorated | ) |
Sets the decorated flag.
bool | $decorated | Whether to decorate the messages or not |
Implemented in OutputFormatter.
Referenced by Helper\strlenWithoutDecoration().
setStyle | ( | $name, | |
OutputFormatterStyleInterface | $style | ||
) |
Sets a new style.
string | $name | The style name |
OutputFormatterStyleInterface | $style | The style instance |
Implemented in OutputFormatter.