interface OutputFormatterInterface in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/console/Formatter/OutputFormatterInterface.php \Symfony\Component\Console\Formatter\OutputFormatterInterface
Formatter interface for console output.
@author Konstantin Kudryashov <ever.zet@gmail.com>
Hierarchy
- interface \Symfony\Component\Console\Formatter\OutputFormatterInterface
Expanded class hierarchy of OutputFormatterInterface
All classes that implement OutputFormatterInterface
7 files declare their use of OutputFormatterInterface
- ConsoleOutput.php in vendor/
symfony/ console/ Output/ ConsoleOutput.php - Helper.php in vendor/
symfony/ console/ Helper/ Helper.php - NullOutput.php in vendor/
symfony/ console/ Output/ NullOutput.php - Output.php in vendor/
symfony/ console/ Output/ Output.php - OutputInterface.php in vendor/
symfony/ console/ Output/ OutputInterface.php
File
- vendor/
symfony/ console/ Formatter/ OutputFormatterInterface.php, line 19
Namespace
Symfony\Component\Console\FormatterView source
interface OutputFormatterInterface {
/**
* Sets the decorated flag.
*
* @param bool $decorated Whether to decorate the messages or not
*/
public function setDecorated($decorated);
/**
* Gets the decorated flag.
*
* @return bool true if the output will decorate messages, false otherwise
*/
public function isDecorated();
/**
* Sets a new style.
*
* @param string $name The style name
* @param OutputFormatterStyleInterface $style The style instance
*/
public function setStyle($name, OutputFormatterStyleInterface $style);
/**
* Checks if output formatter has style with specified name.
*
* @param string $name
*
* @return bool
*/
public function hasStyle($name);
/**
* Gets style options from style with specified name.
*
* @param string $name
*
* @return OutputFormatterStyleInterface
*/
public function getStyle($name);
/**
* Formats a message according to the given styles.
*
* @param string $message The message to style
*
* @return string The styled message
*/
public function format($message);
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
OutputFormatterInterface:: |
public | function | Formats a message according to the given styles. | 1 |
OutputFormatterInterface:: |
public | function | Gets style options from style with specified name. | 1 |
OutputFormatterInterface:: |
public | function | Checks if output formatter has style with specified name. | 1 |
OutputFormatterInterface:: |
public | function | Gets the decorated flag. | 1 |
OutputFormatterInterface:: |
public | function | Sets the decorated flag. | 1 |
OutputFormatterInterface:: |
public | function | Sets a new style. | 1 |