Symfony\Component\Console\Formatter\OutputFormatterInterface
Formatter interface for console output.
- Author: Konstantin Kudryashov <ever.zet@gmail.com>
Synopsis
interface OutputFormatterInterface
{
- // methods
- public void setDecorated()
- public Boolean isDecorated()
- public void setStyle()
- public Boolean hasStyle()
- public OutputFormatterStyleInterface getStyle()
- public string format()
Methods
public
- format() — Formats a message according to the given styles.
- getStyle() — Gets style options from style with specified name.
- hasStyle() — Checks if output formatter has style with specified name.
- isDecorated() — Gets the decorated flag.
- setDecorated() — Sets the decorated flag.
- setStyle() — Sets a new style.