interface WrappableOutputFormatterInterface
Formatter interface for console output that supports word wrapping.
@author Roland Franssen <franssen.roland@gmail.com>
Hierarchy
- interface \Symfony\Component\Console\Formatter\OutputFormatterInterface
- interface \Symfony\Component\Console\Formatter\WrappableOutputFormatterInterface extends \Symfony\Component\Console\Formatter\OutputFormatterInterface
Expanded class hierarchy of WrappableOutputFormatterInterface
All classes that implement WrappableOutputFormatterInterface
1 file declares its use of WrappableOutputFormatterInterface
File
-
vendor/
symfony/ console/ Formatter/ WrappableOutputFormatterInterface.php, line 19
Namespace
Symfony\Component\Console\FormatterView source
interface WrappableOutputFormatterInterface extends OutputFormatterInterface {
/**
* Formats a message according to the given styles, wrapping at `$width` (0 means no wrapping).
*/
public function formatAndWrap(?string $message, int $width) : string;
}
Members
Title Sort descending | Modifiers | Object type | Summary | Overrides |
---|---|---|---|---|
OutputFormatterInterface::format | public | function | Formats a message according to the given styles. | 2 |
OutputFormatterInterface::getStyle | public | function | Gets style options from style with specified name. | 2 |
OutputFormatterInterface::hasStyle | public | function | Checks if output formatter has style with specified name. | 2 |
OutputFormatterInterface::isDecorated | public | function | Whether the output will decorate messages. | 2 |
OutputFormatterInterface::setDecorated | public | function | Sets the decorated flag. | 2 |
OutputFormatterInterface::setStyle | public | function | Sets a new style. | 2 |
WrappableOutputFormatterInterface::formatAndWrap | public | function | Formats a message according to the given styles, wrapping at `$width` (0 means no wrapping). | 1 |