Formatter interface for console output that supports word wrapping.
- author Roland Franssen
AbstractInterface
Methods |
public abstract formatAndWrap(?string $message, int $width) Formats a message according to the given styles, wrapping at
|
Formatter interface for console output that supports word wrapping.
Methods |
public abstract Symfony\Component\Console\Formatter\OutputFormatterInterface::format(?string $message) : ?string Formats a message according to the given styles. |
public abstract formatAndWrap(?string $message, int $width) Formats a message according to the given styles, wrapping at
|
public abstract Symfony\Component\Console\Formatter\OutputFormatterInterface::getStyle(string $name) : Symfony Gets style options from style with specified name.
|
public abstract Symfony\Component\Console\Formatter\OutputFormatterInterface::hasStyle(string $name) : bool Checks if output formatter has style with specified name. |
public abstract Symfony\Component\Console\Formatter\OutputFormatterInterface::isDecorated() : bool Whether the output will decorate messages. |
public abstract Symfony\Component\Console\Formatter\OutputFormatterInterface::setDecorated(bool $decorated) Sets the decorated flag.
|
public abstract Symfony\Component\Console\Formatter\OutputFormatterInterface::setStyle(string $name, Symfony Sets a new style.
|