Formatter interface for console output.
- author Konstantin Kudryashov
AbstractInterface
Methods |
public abstract format(?string $message) : ?string Formats a message according to the given styles. |
public abstract getStyle(string $name) : Symfony Gets style options from style with specified name.
|
public abstract hasStyle(string $name) : bool Checks if output formatter has style with specified name. |
public abstract isDecorated() : bool Whether the output will decorate messages. |
public abstract setDecorated(bool $decorated) : void Sets the decorated flag. |
public abstract setStyle(string $name, Symfony Sets a new style. |